summaryrefslogtreecommitdiffstats
path: root/qmake/property.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/property.cpp')
-rw-r--r--qmake/property.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/property.cpp b/qmake/property.cpp
index 273963db2e..9ee08f4b55 100644
--- a/qmake/property.cpp
+++ b/qmake/property.cpp
@@ -151,7 +151,7 @@ QMakeProperty::exec()
#ifdef QT_VERSION_STR
specialProps.append("QT_VERSION");
#endif
- foreach (QString prop, specialProps) {
+ for (const QString &prop : qAsConst(specialProps)) {
ProString val = value(ProKey(prop));
ProString pval = value(ProKey(prop + "/raw"));
ProString gval = value(ProKey(prop + "/get"));