Repalce QDir::absolutePath with QDir::cleanPath

Qt 4.8 behaves differently.

Task-Nr: QTCREATORBUG-3849
This commit is contained in:
dt
2011-02-22 16:26:38 +01:00
parent 89884d823d
commit 811466a2fe

View File

@@ -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()