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:
Ulf Hermann
2017-09-27 14:56:00 +02:00
parent c0b2ba829f
commit 38d00cc8b6
6 changed files with 11 additions and 16 deletions

View File

@@ -524,9 +524,9 @@ void QmlProfilerModelManager::processingDone()
setState(Done);
}
void QmlProfilerModelManager::populateFileFinder(const ProjectExplorer::RunConfiguration *runConfiguration)
void QmlProfilerModelManager::populateFileFinder(const ProjectExplorer::Target *target)
{
d->detailsRewriter->populateFileFinder(runConfiguration);
d->detailsRewriter->populateFileFinder(target);
}
QString QmlProfilerModelManager::findLocalFile(const QString &remoteFile)