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:
Ulf Hermann
2016-05-02 11:17:49 +02:00
parent 6a50dbd2aa
commit 75d8169e1e

View File

@@ -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);
} }
} }