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