mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T289, minor adjustments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user