diff options
author | Eike Ziller <eike.ziller@qt.io> | 2023-05-05 10:39:47 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2023-05-05 10:39:47 +0200 |
commit | 7724f8653f9c0e5625179ecda8a545cb30f4e1b4 (patch) | |
tree | cbe5b15de32a6df7012bafb6f4e853ab9c21c676 /src/plugins/cmakeprojectmanager/presetsparser.cpp | |
parent | 15193d3250834f85d90b790c0c40632e6de65033 (diff) | |
parent | b083a4d55efbf9f6558034c0ce4efe31062e0e5b (diff) | |
download | qt-creator-7724f8653f9c0e5625179ecda8a545cb30f4e1b4.tar.gz |
Merge remote-tracking branch 'origin/10.0'
Change-Id: I7a3925ad8e4f97461b64a70217102ed900430253
Diffstat (limited to 'src/plugins/cmakeprojectmanager/presetsparser.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/presetsparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/presetsparser.cpp b/src/plugins/cmakeprojectmanager/presetsparser.cpp index 0f9b0c8c8e..f3be87f7ea 100644 --- a/src/plugins/cmakeprojectmanager/presetsparser.cpp +++ b/src/plugins/cmakeprojectmanager/presetsparser.cpp @@ -82,7 +82,7 @@ std::optional<PresetsDetails::Condition> parseCondition(const QJsonValue &jsonVa if (type == "const") { condition->type = type; - condition->constValue = object.value("const").toBool(); + condition->constValue = object.value("value").toBool(); return condition; } |