Analyzer: Use action as handle for tool plus start mode

Change-Id: I33f99f28fb99c21cc62cda57ec1ba1aa2963b065
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
hjk
2013-08-05 17:08:55 +02:00
parent 2e004b7367
commit d95ae65c62
4 changed files with 35 additions and 50 deletions

View File

@@ -946,8 +946,8 @@ void CallgrindToolPrivate::handleShowCostsOfFunction()
m_toggleCollectFunction = qualifiedFunctionName + QLatin1String("()");
AnalyzerManager::selectTool(q, StartMode(StartLocal));
AnalyzerManager::startTool(q, StartMode(StartLocal));
AnalyzerManager::selectTool(q, StartLocal);
AnalyzerManager::startTool();
}
void CallgrindToolPrivate::slotRequestDump()