aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/configmodel.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-12-01 15:24:36 +0100
committerTobias Hunger <tobias.hunger@qt.io>2016-12-02 12:00:03 +0000
commit5a88e4c9ad57c024253602ed9b9d6588808bbb47 (patch)
treeaea1487eefb7aedee8f8243506e4468b4f3dd8cc /src/plugins/cmakeprojectmanager/configmodel.h
parentea220ccec154f9a95db0977ffbd0438debe1f78c (diff)
CMake: Fix the config model merging data
Old user-settings used to get lost. Change-Id: I5197c3b57b12d94e7464a86261a1364dd9aca266 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/configmodel.h')
-rw-r--r--src/plugins/cmakeprojectmanager/configmodel.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/cmakeprojectmanager/configmodel.h b/src/plugins/cmakeprojectmanager/configmodel.h
index 0542481718..5a1f97ef3e 100644
--- a/src/plugins/cmakeprojectmanager/configmodel.h
+++ b/src/plugins/cmakeprojectmanager/configmodel.h
@@ -82,9 +82,11 @@ private:
InternalDataItem(const DataItem &item);
InternalDataItem(const InternalDataItem &item) = default;
- bool isUserChanged;
- bool isUserNew;
- bool isCMakeChanged;
+ QString toolTip() const;
+
+ bool isUserChanged = false;
+ bool isUserNew = false;
+ bool isCMakeChanged = false;
QString newValue;
};