diff options
Diffstat (limited to 'tests/auto/scion/tst_scion.cpp')
-rw-r--r-- | tests/auto/scion/tst_scion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/scion/tst_scion.cpp b/tests/auto/scion/tst_scion.cpp index 37cc42f..8764758 100644 --- a/tests/auto/scion/tst_scion.cpp +++ b/tests/auto/scion/tst_scion.cpp @@ -444,7 +444,7 @@ static int verifyEvent(const QList<QScxmlEvent> &receivedEvents, const QJsonObje const QString invokeId = verifyInvokeId ? event.value(QLatin1String("invokeid")).toString() : QString(); - while (position < receivedEvents.length()) { + while (position < receivedEvents.size()) { const QScxmlEvent &receivedEvent = receivedEvents[position]; if ((verifyName && receivedEvent.name() != name) || (verifyEventType && receivedEvent.eventType() != eventType) |