Qbs: Always display clean build path

Task-number: QTCREATORBUG-10749

Change-Id: I1a2e79ffbd952dcc9fded07aca22c9a36f0a2ec4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-11-13 10:40:03 +01:00
parent 769c5d41e5
commit 3655917b9e

View File

@@ -257,7 +257,7 @@ Utils::FileName QbsProject::defaultBuildDirectory(const QString &path)
{
QFileInfo fi(path);
const QString buildDir = QDir(fi.canonicalPath()).absoluteFilePath(QString::fromLatin1("../%1-build").arg(fi.baseName()));
return FileName::fromString(buildDir);
return FileName::fromString(QDir::cleanPath(buildDir));
}
qbs::Project QbsProject::qbsProject() const