summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-07-11 11:15:58 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2022-07-13 14:35:02 +0200
commit8d9301b413cb06d5bcc4b166616c3802dff79071 (patch)
tree807e14a7e9e26fc7b41780b3fa7ada942318d9c6 /tests
parent6749d69a15381e05e89f72f6a53bf4449f6d3910 (diff)
Add QInputDevice::name() to output in device_information manual test
Pick-to: 6.4 6.3 6.2 Task-number: QTBUG-104878 Change-Id: I4299228c90777d71f01c3e2607f8ad4af6e081ed Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/qtabletevent/device_information/tabletwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/qtabletevent/device_information/tabletwidget.cpp b/tests/manual/qtabletevent/device_information/tabletwidget.cpp
index c9ada64487..78c9636652 100644
--- a/tests/manual/qtabletevent/device_information/tabletwidget.cpp
+++ b/tests/manual/qtabletevent/device_information/tabletwidget.cpp
@@ -107,6 +107,7 @@ void TabletWidget::paintEvent(QPaintEvent *)
eventInfo << QString("Device info missing");
} else {
eventInfo << QString("Seat: %1").arg(mDev->seatName());
+ eventInfo << QString("Name: %1").arg(mDev->name());
eventInfo << QString("Device type: %1").arg(deviceTypeToString(mDev->type()));
eventInfo << QString("Pointer type: %1").arg(pointerTypeToString(mDev->pointerType()));
eventInfo << QString("Capabilities: %1").arg(pointerCapabilitiesToString(mDev->capabilities()));