aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-04-15 16:43:47 +0200
committercon <qtc-committer@nokia.com>2011-04-15 21:09:12 +0200
commit5515703dc3cf7445225837f283efdbb070d1054c (patch)
tree07dabfa7d28ef1b68b192f074916436562710293
parent21639889b106ed2ce9b1f3f76f95aa4686dd4c44 (diff)
Fix %{CurrentProject:Path}
Was returning the same as %{CurrentProject:FilePath} Task-number: QTCREATORBUG-4533 Reviewed-by: Robert Loehning
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index cbc5dfc359..bc95a6e52f 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -1050,7 +1050,7 @@ void ProjectExplorerPlugin::updateVariable(const QString &variable)
} else if (variable == QLatin1String(kCurrentProjectPath)) {
if (currentProject() && currentProject()->file()) {
Core::VariableManager::instance()->insert(variable,
- QFileInfo(currentProject()->file()->fileName()).filePath());
+ QFileInfo(currentProject()->file()->fileName()).path());
} else {
Core::VariableManager::instance()->remove(variable);
}