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:
Tobias Hunger
2016-01-06 16:23:23 +01:00
parent d63186d6f4
commit e26617c3ed
5 changed files with 9 additions and 20 deletions

View File

@@ -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();
}