summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeproject.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-12-15 12:53:37 +0100
committerTobias Hunger <tobias.hunger@qt.io>2016-12-21 14:19:36 +0000
commit1b2fc1c8153c76eb38454e8fd7b69f0c02022f1a (patch)
treecf0cc9e3a6c68908bb9d681518f3bc2ddfc2a15d /src/plugins/cmakeprojectmanager/cmakeproject.h
parenta347768488c88b2a0d9f8359697c91e2d271bbfd (diff)
downloadqt-creator-1b2fc1c8153c76eb38454e8fd7b69f0c02022f1a.tar.gz
CMake: Pass const QList<const FileNode *> to Directory Readers
This makes sure they need to copy whatever they need. Change-Id: I767ac0c5f54ca1f9f46acdefe4bd7fea35657312 Reviewed-by: Alexander Drozdov <adrozdoff@gmail.com> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeproject.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeproject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.h b/src/plugins/cmakeprojectmanager/cmakeproject.h
index 295c3a81f7..1965609e55 100644
--- a/src/plugins/cmakeprojectmanager/cmakeproject.h
+++ b/src/plugins/cmakeprojectmanager/cmakeproject.h
@@ -134,7 +134,7 @@ private:
Internal::TreeScanner m_treeScanner;
QHash<QString, bool> m_mimeBinaryCache;
- QList<ProjectExplorer::FileNode *> m_allFiles;
+ QList<const ProjectExplorer::FileNode *> m_allFiles;
friend class Internal::CMakeBuildConfiguration;
friend class Internal::CMakeBuildSettingsWidget;