summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/client/tst_client.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-10-04 10:49:24 +0200
committerJohan Helsing <johan.helsing@qt.io>2017-10-16 07:56:49 +0000
commit187fd96f35fa212dfce4c2bf3c417096ca33c8f1 (patch)
treeeac8380c22d68f5bea32f38d07b565fb9b783a37 /tests/auto/client/client/tst_client.cpp
parentb835a36267688b29e8dd3ffccd84f129ebfdd402 (diff)
Tests: Add missing Q_UNUSEDs
Change-Id: Ifc7e5d000b7f5d75fb899d2294008f8dcabca777 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'tests/auto/client/client/tst_client.cpp')
-rw-r--r--tests/auto/client/client/tst_client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/client/client/tst_client.cpp b/tests/auto/client/client/tst_client.cpp
index 8acddfbe7..0a3c7bef7 100644
--- a/tests/auto/client/client/tst_client.cpp
+++ b/tests/auto/client/client/tst_client.cpp
@@ -93,6 +93,7 @@ public:
void touchEvent(QTouchEvent *event) override
{
+ Q_UNUSED(event);
++touchEventCount;
}
@@ -272,6 +273,7 @@ public:
protected:
void mousePressEvent(QMouseEvent *event) override
{
+ Q_UNUSED(event);
if (dragStarted)
return;
dragStarted = true;