summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/seatv4
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-05 14:49:44 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-08 08:12:48 +0200
commit14abe90c9fb7e31972b2991f6778233f0e71779e (patch)
tree32dab433a3b6aefae3428df5f3fcd0762f2f7806 /tests/auto/client/seatv4
parent9bf6eb92858c05455221e8b6925485e65c4f4b50 (diff)
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: I4bc7b2eb2913fc828f09f96e21480b76cabf8656 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/client/seatv4')
-rw-r--r--tests/auto/client/seatv4/tst_seatv4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/client/seatv4/tst_seatv4.cpp b/tests/auto/client/seatv4/tst_seatv4.cpp
index 46d91e028..1c1e7a02b 100644
--- a/tests/auto/client/seatv4/tst_seatv4.cpp
+++ b/tests/auto/client/seatv4/tst_seatv4.cpp
@@ -292,7 +292,7 @@ void tst_seatv4::simpleAxis()
QPoint pixelDelta;
QPoint angleDelta; // eights of a degree, positive is upwards, left
};
- QVector<Event> m_events;
+ QList<Event> m_events;
};
WheelWindow window;
@@ -351,7 +351,7 @@ static bool supportsCursorSize(uint size, wl_shm *shm)
return false;
}
-static bool supportsCursorSizes(const QVector<uint> &sizes)
+static bool supportsCursorSizes(const QList<uint> &sizes)
{
auto *waylandIntegration = static_cast<QtWaylandClient::QWaylandIntegration *>(QGuiApplicationPrivate::platformIntegration());
wl_shm *shm = waylandIntegration->display()->shm()->object();