diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-22 12:12:52 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-25 07:54:07 +0200 |
commit | dd71c43b9718be3523ed6b307a3402f88de070e1 (patch) | |
tree | 16d98b58843a729ad9153142121a5371ff305af5 /tests | |
parent | 10669911b7beac620989d69653334fb6ee477744 (diff) |
Use QList instead of QVector
Task-number: QTBUG-84469
Change-Id: I4c3353c00a566023503fbc178ba8454391dc334c
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp | 2 | ||||
-rw-r--r-- | tests/auto/quick/qquickflickable/tst_qquickflickable.cpp | 2 | ||||
-rw-r--r-- | tests/auto/quick/touchmouse/tst_touchmouse.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp b/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp index 7b62469003..855487e295 100644 --- a/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp +++ b/tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp @@ -382,7 +382,7 @@ void tst_qqmlcontext::setContextProperties() TestObject obj2; obj2.setA(-19); - QVector<QQmlContext::PropertyPair> properties; + QList<QQmlContext::PropertyPair> properties; properties.append({QString("a"), QVariant(10)}); properties.append({QString("b"), QVariant(19)}); diff --git a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp index dcf5a0b09e..a3340c0e3a 100644 --- a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp +++ b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp @@ -104,7 +104,7 @@ protected: QVERIFY(!m_active); m_active = true; emit activeChanged(); - grabTouchPoints(QVector<int>() << touchpoint.id()); + grabTouchPoints(QList<int>() << touchpoint.id()); break; case Qt::TouchPointMoved: ++touchUpdates; diff --git a/tests/auto/quick/touchmouse/tst_touchmouse.cpp b/tests/auto/quick/touchmouse/tst_touchmouse.cpp index 9117df812a..5b201541fe 100644 --- a/tests/auto/quick/touchmouse/tst_touchmouse.cpp +++ b/tests/auto/quick/touchmouse/tst_touchmouse.cpp @@ -1348,7 +1348,7 @@ void tst_TouchMouse::touchGrabCausesMouseUngrab() rightItem->acceptTouch = true; { - QVector<int> ids; + QList<int> ids; ids.append(leftItem->point0); rightItem->grabTouchPoints(ids); } |