Fix compile after Analyzer changes

Change-Id: I3870488ff2052465508c23d429dcb2d25a249857
Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
This commit is contained in:
Daniel Teske
2015-02-19 14:48:39 +01:00
committed by Andre Poenitz
parent 93685b97ef
commit 4495ab283c

View File

@@ -81,7 +81,7 @@ void ClangStaticAnalyzerUnitTests::testProject()
CppTools::Tests::ProjectOpenerAndCloser projectManager; CppTools::Tests::ProjectOpenerAndCloser projectManager;
const CppTools::ProjectInfo projectInfo = projectManager.open(projectFilePath, true); const CppTools::ProjectInfo projectInfo = projectManager.open(projectFilePath, true);
QVERIFY(projectInfo.isValid()); QVERIFY(projectInfo.isValid());
AnalyzerManager::selectTool(ClangStaticAnalyzerToolId, Analyzer::StartLocal); AnalyzerManager::selectTool(ClangStaticAnalyzerToolId);
AnalyzerManager::startTool(); AnalyzerManager::startTool();
if (m_analyzerTool->isRunning()) { if (m_analyzerTool->isRunning()) {
QSignalSpy waiter(m_analyzerTool, SIGNAL(finished())); QSignalSpy waiter(m_analyzerTool, SIGNAL(finished()));