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:
@@ -256,6 +256,7 @@ void QmlProfilerDetailsRewriter::populateFileFinder(
|
||||
m_projectFinder.setProjectDirectory(projectDirectory);
|
||||
m_projectFinder.setProjectFiles(sourceFiles);
|
||||
m_projectFinder.setSysroot(activeSysroot);
|
||||
m_filesCache.clear();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user