summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2024-04-10 15:07:53 +0200
committerLiang Qi <liang.qi@qt.io>2024-04-10 21:01:07 +0200
commit73948d782a17d291c8095c45dfd4c1f4228a4e6d (patch)
treecaab5dce7bc39b5d7a0e52c3c81e61bd1e2a282b /tests/manual
parent541a602e1d0605689ed7f14c8250d929255e7c34 (diff)
tests: update info for mouse move events in device_information
Pick-to: 6.7 6.5 Change-Id: I390aee8c17d971781e7e243cd7bf98e10212f648 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/qtabletevent/device_information/tabletwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/qtabletevent/device_information/tabletwidget.cpp b/tests/manual/qtabletevent/device_information/tabletwidget.cpp
index 2810717070..747c807e02 100644
--- a/tests/manual/qtabletevent/device_information/tabletwidget.cpp
+++ b/tests/manual/qtabletevent/device_information/tabletwidget.cpp
@@ -57,6 +57,8 @@ bool TabletWidget::eventFilter(QObject *, QEvent *ev)
mPos = event->pos();
mGPos = event->globalPosition();
mTimestamp = event->timestamp();
+ if (isVisible())
+ update();
}
break;
case QEvent::Wheel: