Commit 96205e28 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

fix warning that "pep" is initialized but not referenced



Change-Id: I1f12323e1de481f800fcf835a12213059b72bfd4
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 35939ac4
......@@ -468,8 +468,8 @@ void TestRunner::runTests()
return;
}
ProjectExplorer::ProjectExplorerPlugin *pep = ProjectExplorer::ProjectExplorerPlugin::instance();
ProjectExplorer::Internal::ProjectExplorerSettings pes = pep->projectExplorerSettings();
ProjectExplorer::Internal::ProjectExplorerSettings pes =
ProjectExplorer::ProjectExplorerPlugin::projectExplorerSettings();
if (pes.buildBeforeDeploy) {
if (!project->hasActiveBuildSettings()) {
TestResultsPane::instance()->addTestResult(FaultyTestResult(ResultType::MESSAGE_FATAL,
......@@ -507,10 +507,9 @@ void TestRunner::buildProject(ProjectExplorer::Project *project)
m_buildSucceeded = false;
ProjectExplorer::BuildManager *mgr = static_cast<ProjectExplorer::BuildManager *>(
ProjectExplorer::BuildManager::instance());
ProjectExplorer::ProjectExplorerPlugin *pep = ProjectExplorer::ProjectExplorerPlugin::instance();
connect(mgr, &ProjectExplorer::BuildManager::buildQueueFinished,
this, &TestRunner::buildFinished);
pep->buildProject(project);
ProjectExplorer::ProjectExplorerPlugin::buildProject(project);
}
void TestRunner::buildFinished(bool success)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment