forked from qt-creator/qt-creator
QmlProfiler: Use a Target for populateFileFinder()
The RunConfiguration we were using previously only served to retrieve a target. Change-Id: I30628197de3025511a03a53d3119083b980762c8 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -393,7 +393,8 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunner *runWorker)
|
||||
// Initialize m_projectFinder
|
||||
//
|
||||
|
||||
d->m_profilerModelManager->populateFileFinder(runConfiguration);
|
||||
d->m_profilerModelManager->populateFileFinder(runConfiguration ? runConfiguration->target()
|
||||
: nullptr);
|
||||
}
|
||||
|
||||
void QmlProfilerTool::recordingButtonChanged(bool recording)
|
||||
|
Reference in New Issue
Block a user