Commit 725685e2 authored by Michael Winkelmann's avatar Michael Winkelmann

Ranged-based for loop

parent c09ad029
......@@ -116,7 +116,7 @@ void QmlPrinter::paintItem(QQuickItem *item, QQuickWindow *window,
if (listView != nullptr) {
// Draw the child items of the QML ListView
QList<QQuickItem *> listViewChildren = listView->childItems();
foreach (QQuickItem *children, listViewChildren) {
for (QQuickItem *children : listViewChildren) {
paintItem(children, window, painter);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment