GUI: When creating a new project, set a default value for build dir
This commit is contained in:
parent
04c2be33a6
commit
ecc90c040e
|
@ -1516,6 +1516,7 @@ void MainWindow::newProjectFile()
|
|||
delete mProjectFile;
|
||||
mProjectFile = new ProjectFile(this);
|
||||
mProjectFile->setFilename(filepath);
|
||||
mProjectFile->setBuildDir(filename.left(filename.indexOf(".")) + "-cppcheck-build-dir");
|
||||
|
||||
ProjectFileDialog dlg(mProjectFile, this);
|
||||
if (dlg.exec() == QDialog::Accepted) {
|
||||
|
|
Loading…
Reference in New Issue