diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-12-15 12:53:37 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-12-21 14:19:36 +0000 |
commit | 1b2fc1c8153c76eb38454e8fd7b69f0c02022f1a (patch) | |
tree | cf0cc9e3a6c68908bb9d681518f3bc2ddfc2a15d /src/plugins/cmakeprojectmanager/cmakeproject.h | |
parent | a347768488c88b2a0d9f8359697c91e2d271bbfd (diff) | |
download | qt-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.h | 2 |
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; |