From 78861166ada52689b70a2b57dc8c86872a12a4bc Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 11 Jul 2018 23:37:00 +0200 Subject: [PATCH] Ref T289, minor adjustments --- src/blackconfig/buildconfig.cpp | 2 +- src/blackconfig/buildconfig.h | 2 +- src/blackcore/blackcoreexport.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blackconfig/buildconfig.cpp b/src/blackconfig/buildconfig.cpp index 19f2df5d8..11a6800b4 100644 --- a/src/blackconfig/buildconfig.cpp +++ b/src/blackconfig/buildconfig.cpp @@ -140,6 +140,7 @@ namespace BlackConfig { bool isLocalDeveloperBuildImpl() { + if (!CBuildConfig::isDebugBuild()) { return false; } const QString p = QCoreApplication::applicationDirPath().toLower(); // guessing, feel free to add path checks @@ -151,7 +152,6 @@ namespace BlackConfig bool CBuildConfig::isLocalDeveloperDebugBuild() { - if (!CBuildConfig::isDebugBuild()) { return false; } static const bool devBuild = Private::isLocalDeveloperBuildImpl(); return devBuild; } diff --git a/src/blackconfig/buildconfig.h b/src/blackconfig/buildconfig.h index 6c9409c64..54a480bd5 100644 --- a/src/blackconfig/buildconfig.h +++ b/src/blackconfig/buildconfig.h @@ -154,6 +154,6 @@ namespace BlackConfig //! Patch version static int versionMicro(); // defined in buildconfig_gen.cpp.in }; -} +} // ns #endif // guard diff --git a/src/blackcore/blackcoreexport.h b/src/blackcore/blackcoreexport.h index a21d9c4f6..831d499c7 100644 --- a/src/blackcore/blackcoreexport.h +++ b/src/blackcore/blackcoreexport.h @@ -29,4 +29,4 @@ # define BLACKCORE_EXPORT #endif -#endif // BLACKCORE_MACROS_H +#endif // guard