forked from qt-creator/qt-creator
CMake: Simplify setup of CMakeOpenProjectWizard
The information is contained in the BuildInfo, so there is no need to provide it a second time. Change-Id: I512d148e36996130fab6d8e007dd16d5acebaebb Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -113,7 +113,7 @@ void CMakeManager::runCMake(ProjectExplorer::Project *project)
|
||||
CMakeBuildInfo info(bc);
|
||||
|
||||
CMakeOpenProjectWizard copw(Core::ICore::mainWindow(), this, CMakeOpenProjectWizard::WantToUpdate,
|
||||
&info, project->activeTarget()->displayName(), bc->displayName());
|
||||
&info);
|
||||
if (copw.exec() == QDialog::Accepted)
|
||||
cmakeProject->parseCMakeLists();
|
||||
}
|
||||
|
Reference in New Issue
Block a user