diff options
author | Ulf Hermann <[email protected]> | 2017-08-14 14:40:20 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2017-08-15 13:38:31 +0000 |
commit | dc912be7ead21f55e50f4caec2c67d9d33ab7932 (patch) | |
tree | 18e44daff01bb585a89e174694f20630e89f72e8 /src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp | |
parent | 6a626595dc65ac8573b2617639c52bd3ad9fdb71 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp index e29c731f41a..59d236cc1ab 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.cpp @@ -256,6 +256,7 @@ void QmlProfilerDetailsRewriter::populateFileFinder( m_projectFinder.setProjectDirectory(projectDirectory); m_projectFinder.setProjectFiles(sourceFiles); m_projectFinder.setSysroot(activeSysroot); + m_filesCache.clear(); } } // namespace Internal |