Skip to content
Snippets Groups Projects
Commit 75d8169e authored by Ulf Hermann's avatar Ulf Hermann
Browse files

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: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 6a50dbd2
No related branches found
No related tags found
No related merge requests found
...@@ -646,6 +646,7 @@ void QmlProfilerTool::showLoadDialog() ...@@ -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);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment