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

Repalce QDir::absolutePath with QDir::cleanPath

Qt 4.8 behaves differently.

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()
Supports Markdown
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