Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.3.1

- Remove `#pragma region` and `#pragma endregion` comments.

## v1.3.0

- Switch to Qt6.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# Set project information.
project("QtAppInstanceManager"
LANGUAGES CXX
VERSION 1.3.0.0
VERSION 1.3.1.0
DESCRIPTION "A tool to communicate between the instances of your Qt application."
HOMEPAGE_URL "https://github.com/oclero/QtAppInstanceManager"
)
Expand Down
11 changes: 3 additions & 8 deletions src/source/oclero/LocalEndpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct LocalEndpoint::Impl {
}
}

#pragma region Server
// --------------------------------- Server ----------------------------------

void clearServer() {
// Reset server.
Expand Down Expand Up @@ -373,9 +373,7 @@ struct LocalEndpoint::Impl {
}
}

#pragma endregion

#pragma region Client
// --------------------------------- Client ----------------------------------

void clearClient() {
if (client) {
Expand Down Expand Up @@ -569,9 +567,8 @@ struct LocalEndpoint::Impl {
}
}

#pragma endregion

#pragma region Static
// ----------------------------- Static helpers ------------------------------

static QByteArray getHeader(const QByteArray& body) {
QByteArray header;
Expand Down Expand Up @@ -608,8 +605,6 @@ struct LocalEndpoint::Impl {
// Replace the backslash in RFC 2045 Base64 [a-zA-Z0-9+/=] to comply with server naming requirements.
return appData.result().toBase64().replace('/', '_');
}

#pragma endregion
};

LocalEndpoint::LocalEndpoint(QObject* parent)
Expand Down
Loading