summaryrefslogtreecommitdiff
path: root/src/controls/Styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles')
-rw-r--r--src/controls/Styles/Android/qquickandroid9patch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Android/qquickandroid9patch.cpp b/src/controls/Styles/Android/qquickandroid9patch.cpp
index e85e2f29..d4d7172a 100644
--- a/src/controls/Styles/Android/qquickandroid9patch.cpp
+++ b/src/controls/Styles/Android/qquickandroid9patch.cpp
@@ -152,7 +152,7 @@ void QQuickAndroid9PatchDivs::fill(const QVariantList &divs, qreal size)
data.reserve(divs.size() + 1);
}
- foreach (const QVariant &div, divs)
+ for (const QVariant &div : divs)
data.append(div.toReal());
data.append(size);