summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-05-28 23:20:23 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2021-06-01 06:08:55 +0200
commit4f853744c9a88d986b46fc80d62200c82eb048b2 (patch)
tree329b28350b55b1a840f980510fc923092f59a059 /src/gui/kernel
parent42eb1e4aa63b935a25257498c755530d8ecda6dd (diff)
Add fingerCount to qDebug output for QNativeGestureEvent
Followup to 31f90e99b8f04d9a228c5a0b01319b3f112c1490. The number of fingers involved in a gesture will likely become a key feature to make different behaviors distinct. Change-Id: Ib41b2fa7ab4ea7d008a6479c018b3d475a62a8fd Reviewed-by: Povilas Kanapickas <povilas@radix.lt> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 833fa92082..4e6de35c94 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -4166,7 +4166,7 @@ QT_WARNING_POP
const QNativeGestureEvent *ne = static_cast<const QNativeGestureEvent *>(e);
dbg << "QNativeGestureEvent(";
QtDebugUtils::formatQEnum(dbg, ne->gestureType());
- dbg << ", localPos=";
+ dbg << ", fingerCount=" << ne->fingerCount() << ", localPos=";
QtDebugUtils::formatQPoint(dbg, ne->position());
if (!qIsNull(ne->value()))
dbg << ", value=" << ne->value();