aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/namevaluemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/utils/namevaluemodel.cpp')
-rw-r--r--src/libs/utils/namevaluemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/namevaluemodel.cpp b/src/libs/utils/namevaluemodel.cpp
index 0486485e71..299da11fae 100644
--- a/src/libs/utils/namevaluemodel.cpp
+++ b/src/libs/utils/namevaluemodel.cpp
@@ -48,7 +48,7 @@ public:
m_resultNameValueDictionary.modify(m_items);
// Add removed variables again and mark them as "<UNSET>" so
// that the user can actually see those removals:
- foreach (const NameValueItem &item, m_items) {
+ for (const NameValueItem &item : qAsConst(m_items)) {
if (item.operation == NameValueItem::Unset)
m_resultNameValueDictionary.set(item.name, NameValueModel::tr("<UNSET>"));
}