tests: update info for mouse move events in device_information

Pick-to: 6.5
Change-Id: I390aee8c17d971781e7e243cd7bf98e10212f648
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 73948d782a17d291c8095c45dfd4c1f4228a4e6d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Liang Qi 2024-04-10 15:07:53 +02:00 committed by Qt Cherry-pick Bot
parent a4e8281537
commit be15c9c610

View File

@ -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: