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;
|
||||
}
|
||||
|
||||
@@ -154,6 +154,6 @@ namespace BlackConfig
|
||||
//! Patch version
|
||||
static int versionMicro(); // defined in buildconfig_gen.cpp.in
|
||||
};
|
||||
}
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
# define BLACKCORE_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // BLACKCORE_MACROS_H
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user