forked from qt-creator/qt-creator
Analyzer: Move towards less global state
Make startTool() explicit as selectAction(Id) + startAction(Id). Change-Id: I695112bd8419021a781234121a55440b5dc381be Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -891,8 +891,7 @@ void CallgrindToolPrivate::handleShowCostsOfFunction()
|
||||
|
||||
m_toggleCollectFunction = qualifiedFunctionName + QLatin1String("()");
|
||||
|
||||
AnalyzerManager::selectTool(CallgrindLocalActionId);
|
||||
AnalyzerManager::startTool();
|
||||
AnalyzerManager::selectAction(CallgrindLocalActionId, /* alsoRunIt = */ true);
|
||||
}
|
||||
|
||||
void CallgrindToolPrivate::slotRequestDump()
|
||||
|
||||
Reference in New Issue
Block a user