Commit 811466a2 authored by dt's avatar dt
Browse files

Repalce QDir::absolutePath with QDir::cleanPath

Qt 4.8 behaves differently.

Task-Nr: QTCREATORBUG-3849
parent 89884d82
......@@ -780,7 +780,7 @@ QString Qt4Project::defaultTopLevelBuildDirectory(const QString &profilePath)
if (profilePath.isEmpty())
return QString();
QFileInfo info(profilePath);
return QDir(projectDirectory(profilePath) + QLatin1String("/../") + info.baseName() + QLatin1String("-build")).absolutePath();
return QDir::cleanPath(projectDirectory(profilePath) + QLatin1String("/../") + info.baseName() + QLatin1String("-build"));
}
void Qt4Project::asyncUpdate()
......
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