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:
@@ -541,7 +541,7 @@ void QmlProfilerTool::showLoadDialog()
|
||||
if (ModeManager::currentMode()->id() != MODE_ANALYZE)
|
||||
AnalyzerManager::showMode();
|
||||
|
||||
AnalyzerManager::selectTool(QmlProfilerRemoteActionId);
|
||||
AnalyzerManager::selectAction(QmlProfilerRemoteActionId);
|
||||
|
||||
QString filename = QFileDialog::getOpenFileName(ICore::mainWindow(), tr("Load QML Trace"), QString(),
|
||||
tr("QML traces (*%1)").arg(QLatin1String(TraceFileExtension)));
|
||||
|
||||
Reference in New Issue
Block a user