ProjectExplorer: Reduce ProjectExplorer::configureAsExampleProject()

... to the bits that are actually used.

Change-Id: I39a6ed1f4136d75b776bb89eec6165479097a4ec
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-06-27 16:21:12 +02:00
parent 10098b2508
commit b9d6721be8
8 changed files with 20 additions and 30 deletions

View File

@@ -291,7 +291,7 @@ ProjectInfo ProjectOpenerAndCloser::open(const QString &projectFile, bool config
Project *project = result.project();
if (configureAsExampleProject)
project->configureAsExampleProject({ });
project->configureAsExampleProject();
if (TestCase::waitUntilCppModelManagerIsAwareOf(project)) {
m_openProjects.append(project);