aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/gitsettings.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-08-31 16:39:20 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2012-09-05 13:54:48 +0200
commit3c6f76d16c142c2b98564fc9167b67564ead7fe5 (patch)
treea30f0a3dfaf44d7712b9511f4860811d87c821dc /src/plugins/git/gitsettings.cpp
parent16a1a2653a7f2cc0093c0ade7a31808d776fd103 (diff)
HostOsInfo: Add some more useful abstractions.
Namely: - path list separator - executable suffix - file name case sensitivity All of these are duplicated in various places in the current Creator code. Change-Id: I86eb4662fa3c2071759bd728cae1aaf7111ae686 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/plugins/git/gitsettings.cpp')
-rw-r--r--src/plugins/git/gitsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitsettings.cpp b/src/plugins/git/gitsettings.cpp
index 5ec9297a86a..5d61a3c9666 100644
--- a/src/plugins/git/gitsettings.cpp
+++ b/src/plugins/git/gitsettings.cpp
@@ -84,7 +84,7 @@ QString GitSettings::gitBinaryPath(bool *ok, QString *errorMessage) const
QString systemPath = QString::fromLocal8Bit(qgetenv("PATH"));
if (!systemPath.isEmpty()) {
if (!currentPath.isEmpty())
- currentPath.append(Utils::SynchronousProcess::pathSeparator());
+ currentPath.append(Utils::HostOsInfo::pathListSeparator());
currentPath.append(systemPath);
}
// Search in path?