aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/currentprojectfilter.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-23 18:30:00 +0200
committerhjk <hjk@qt.io>2019-07-24 07:18:17 +0000
commit2c0b69cdc5c77d9376b539ac8e36dc304d8ea27b (patch)
treeb413e4f3a1f28b2701bc8de59c8541c7455c5404 /src/plugins/projectexplorer/currentprojectfilter.cpp
parent4216702d954976ee050aa05c48274a1023a5f121 (diff)
Core: Use more of Utils::FilePath in locator filters
Change-Id: Ie550691861317f2af6f38170b5dfc6413af5954f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/currentprojectfilter.cpp')
-rw-r--r--src/plugins/projectexplorer/currentprojectfilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/currentprojectfilter.cpp b/src/plugins/projectexplorer/currentprojectfilter.cpp
index 0e924eeb2a..0ce954d1fd 100644
--- a/src/plugins/projectexplorer/currentprojectfilter.cpp
+++ b/src/plugins/projectexplorer/currentprojectfilter.cpp
@@ -56,9 +56,9 @@ void CurrentProjectFilter::prepareSearch(const QString &entry)
{
Q_UNUSED(entry)
if (!fileIterator()) {
- QStringList paths;
+ Utils::FilePathList paths;
if (m_project)
- paths = Utils::transform(m_project->files(Project::AllFiles), &Utils::FilePath::toString);
+ paths = m_project->files(Project::AllFiles);
setFileIterator(new BaseFileFilter::ListIterator(paths));
}
BaseFileFilter::prepareSearch(entry);