Commit 5515703d authored by con's avatar con
Browse files

Fix %{CurrentProject:Path}

Was returning the same as %{CurrentProject:FilePath}

Task-number: QTCREATORBUG-4533
Reviewed-by: Robert Loehning
parent 21639889
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment