forked from qt-creator/qt-creator
QmlProfiler: Repopulate the file finder when loading a trace
We might have opened or closed projects since the last time we populated the finder, and we will need the files from those projects to resolve file names in the trace. Change-Id: I5979702a105c60e1be452b0b029d01d7498bff3d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -646,6 +646,7 @@ void QmlProfilerTool::showLoadDialog()
|
|||||||
Debugger::enableMainWindow(false);
|
Debugger::enableMainWindow(false);
|
||||||
connect(d->m_profilerModelManager, &QmlProfilerModelManager::recordedFeaturesChanged,
|
connect(d->m_profilerModelManager, &QmlProfilerModelManager::recordedFeaturesChanged,
|
||||||
this, &QmlProfilerTool::setRecordedFeatures);
|
this, &QmlProfilerTool::setRecordedFeatures);
|
||||||
|
populateFileFinder();
|
||||||
d->m_profilerModelManager->load(filename);
|
d->m_profilerModelManager->load(filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user