diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2012-10-11 13:47:23 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2012-10-12 16:53:33 +0200 |
commit | 4a9130a05cbe39f4e953801ff7f5055086ccc483 (patch) | |
tree | e619518afcd9650aae225d89e165c1ddc2adbeb9 /src/plugins/qt4projectmanager/qmakekitinformation.cpp | |
parent | 837d7bfcff1950a9e8ec6e9bb717e48ee8898cb3 (diff) | |
download | qt-creator-4a9130a05cbe39f4e953801ff7f5055086ccc483.tar.gz |
KitInformation: Make validate work on const Kits and add fix method
Make sure validate will not modify kits, add a fix method to do that
when kits are loaded/added.
Change-Id: Ib378af0f3470b2caf64177b35fca061089ac4523
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/qt4projectmanager/qmakekitinformation.cpp')
-rw-r--r-- | src/plugins/qt4projectmanager/qmakekitinformation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qmakekitinformation.cpp b/src/plugins/qt4projectmanager/qmakekitinformation.cpp index e03da430a7..f4c2f8e42b 100644 --- a/src/plugins/qt4projectmanager/qmakekitinformation.cpp +++ b/src/plugins/qt4projectmanager/qmakekitinformation.cpp @@ -64,7 +64,7 @@ QVariant QmakeKitInformation::defaultValue(ProjectExplorer::Kit *k) const return QString(); } -QList<ProjectExplorer::Task> QmakeKitInformation::validate(ProjectExplorer::Kit *k) const +QList<ProjectExplorer::Task> QmakeKitInformation::validate(const ProjectExplorer::Kit *k) const { QList<ProjectExplorer::Task> result; QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(k); |