Ref T289, minor adjustments

This commit is contained in:
Klaus Basan
2018-07-11 23:37:00 +02:00
parent c8e214cef4
commit 78861166ad
3 changed files with 3 additions and 3 deletions

View File

@@ -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;
}