forked from qt-creator/qt-creator
QmlProfiler: Properly prepare the file finder on every start
We want to examine the current list of projects, also if we don't have a specific runConfiguration. Also, after repopulating the file finder, we need to clear the cache of file mappings, as they might have changed. Change-Id: I351789fe999009d443ca5ade9b365bfd490e0e23 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -393,9 +393,7 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunner *runWorker)
|
||||
// Initialize m_projectFinder
|
||||
//
|
||||
|
||||
if (runConfiguration) {
|
||||
d->m_profilerModelManager->populateFileFinder(runConfiguration);
|
||||
}
|
||||
d->m_profilerModelManager->populateFileFinder(runConfiguration);
|
||||
}
|
||||
|
||||
void QmlProfilerTool::recordingButtonChanged(bool recording)
|
||||
|
Reference in New Issue
Block a user