diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bb7d70..5ad08bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v1.3.1 + +- Remove `#pragma region` and `#pragma endregion` comments. + ## v1.3.0 - Switch to Qt6. diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aaf95b..2e4e07e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" ) diff --git a/src/source/oclero/LocalEndpoint.cpp b/src/source/oclero/LocalEndpoint.cpp index 1040ea8..edbaab0 100644 --- a/src/source/oclero/LocalEndpoint.cpp +++ b/src/source/oclero/LocalEndpoint.cpp @@ -107,7 +107,7 @@ struct LocalEndpoint::Impl { } } -#pragma region Server + // --------------------------------- Server ---------------------------------- void clearServer() { // Reset server. @@ -373,9 +373,7 @@ struct LocalEndpoint::Impl { } } -#pragma endregion - -#pragma region Client + // --------------------------------- Client ---------------------------------- void clearClient() { if (client) { @@ -569,9 +567,8 @@ struct LocalEndpoint::Impl { } } -#pragma endregion -#pragma region Static + // ----------------------------- Static helpers ------------------------------ static QByteArray getHeader(const QByteArray& body) { QByteArray header; @@ -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)