forked from qt-creator/qt-creator
QmlPuppet: Replace some foreach
Change-Id: I59b4049282564762f75aa5e9a7a0b7eba055db48 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -303,9 +303,8 @@ void NodeInstanceClientProxy::readDataStream()
|
||||
break;
|
||||
}
|
||||
|
||||
foreach (const QVariant &command, commandList) {
|
||||
for (const QVariant &command : qAsConst(commandList))
|
||||
dispatchCommand(command);
|
||||
}
|
||||
}
|
||||
|
||||
void NodeInstanceClientProxy::sendPuppetAliveCommand()
|
||||
|
||||
Reference in New Issue
Block a user