diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 27b1b66dd..114358275 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -1464,10 +1464,9 @@ void MainWindow::analyzeProject(const ProjectFile *projectFile) ImportProject p; QString prjfile; - if(QFileInfo(projectFile->getImportProject()).isAbsolute()) { + if (QFileInfo(projectFile->getImportProject()).isAbsolute()) { prjfile = projectFile->getImportProject(); - } - else { + } else { prjfile = inf.canonicalPath() + '/' + projectFile->getImportProject(); } try {