aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/shared
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-03-15 10:55:27 +0100
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-03-15 12:18:49 +0100
commit6b6342018201959bd35812ecb67ef15830646280 (patch)
tree2eb5f0455641cbda1df83f4119864d397d6fbf6f /src/app/shared
parente4e4867e18171a446731604fed1f0240738ad00e (diff)
Use global definition of environment variable separator.
Change-Id: If93a6f64762b22023070937d5765b40434385a98 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/app/shared')
-rw-r--r--src/app/shared/specialplatformssetup.cpp14
-rw-r--r--src/app/shared/specialplatformssetup.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/src/app/shared/specialplatformssetup.cpp b/src/app/shared/specialplatformssetup.cpp
index 3ce06a6c6..2c9f65797 100644
--- a/src/app/shared/specialplatformssetup.cpp
+++ b/src/app/shared/specialplatformssetup.cpp
@@ -141,20 +141,6 @@ QByteArray SpecialPlatformsSetup::runProcess(const QString &commandLine,
return output;
}
-QChar SpecialPlatformsSetup::envVarSeparator() const
-{
- // TODO: This should not be necessary; qbs should handle it.
- QChar sep;
-#ifdef Q_OS_UNIX
- sep = QLatin1Char(':');
-#elif defined(Q_OS_WIN)
- sep = QLatin1Char(';');
-#else
-#error "Weird platform this is. Not support it we do."
-#endif
- return sep;
-}
-
void SpecialPlatformsSetup::handleProcessError(const QString &commandLine, const QString &message,
const QByteArray &output)
{
diff --git a/src/app/shared/specialplatformssetup.h b/src/app/shared/specialplatformssetup.h
index 8a4a219bb..eeca24403 100644
--- a/src/app/shared/specialplatformssetup.h
+++ b/src/app/shared/specialplatformssetup.h
@@ -80,7 +80,6 @@ public:
protected:
QString baseDirectory() const { return m_baseDir; }
QByteArray runProcess(const QString &commandLine, const QProcessEnvironment &env);
- QChar envVarSeparator() const;
private:
virtual QString defaultBaseDirectory() const = 0;