GUI: Fix: Create all directories in build dir (#1009)

mkdir() only creates the "last" directory, if more directories in the
path are missing it fails and does not create any directory.
With mkpath() all missing directories are created now.
This commit is contained in:
Sebastian 2017-12-05 20:44:09 +01:00 committed by Daniel Marjamäki
parent 36ebf165c8
commit 2f861070de
1 changed files with 1 additions and 1 deletions

View File

@ -1451,7 +1451,7 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile)
QMessageBox::Yes | QMessageBox::No,
this);
if (msg.exec() == QMessageBox::Yes) {
QDir().mkdir(buildDir);
QDir().mkpath(buildDir);
}
}
}