diff --git a/src/blackmisc/project.cpp b/src/blackmisc/project.cpp index 63bb83a4b..b3e336f61 100644 --- a/src/blackmisc/project.cpp +++ b/src/blackmisc/project.cpp @@ -233,17 +233,6 @@ namespace BlackMisc return QProcessEnvironment::systemEnvironment().value(envVarDevelopment()); } - const QString &CProject::envDevelopmentSetup() - { - static const QString s("SWIFT_DEV_SETUP"); - return s; - } - - QString CProject::envDevelopmentSetupValue() - { - return QProcessEnvironment::systemEnvironment().value(envDevelopmentSetup()); - } - const QString &CProject::envVarPrivateSetupDir() { static const QString s("SWIFT_SETUP_DIR"); @@ -317,11 +306,7 @@ namespace BlackMisc QString CProject::getEnvironmentVariables(const QString &separator) { - QString e(envDevelopmentSetup()); - e = e.append(": ").append(envDevelopmentSetupValue()); - e = e.append(separator); - - e = e.append(envVarDevelopment()); + QString e(envVarDevelopment()); e = e.append(": ").append(envVarDevelopmentValue()); e = e.append(separator); @@ -390,6 +375,7 @@ namespace BlackMisc str.append(compiledWithInfo(false)); return str; } + } // ns #undef BLACK_VERSION_STR diff --git a/src/blackmisc/project.h b/src/blackmisc/project.h index 412bdbda8..786052bf8 100644 --- a/src/blackmisc/project.h +++ b/src/blackmisc/project.h @@ -140,23 +140,14 @@ namespace BlackMisc static const QString &envVarDevelopment(); //! Value - //! //! \value true|false + //! \return true|false static QString envVarDevelopmentValue(); - //! Read data from productive or development setupnding on dev. environment yes/no - static const QString &envDevelopmentSetup(); - - //! Value - //! \value true|false - //! \remarks If this is set, the explicit value will be used. - //! If not set, default will be used depe - static QString envDevelopmentSetupValue(); - - //! Environment variable private resources + //! Environment variable private resources directory static const QString &envVarPrivateSetupDir(); //! Value - //! \value directory path + //! \return directory path static QString envVarPrivateSetupDirValue(); }; } // ns