diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-04-20 10:08:11 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-04-20 18:36:01 +0000 |
commit | 1b6cefc4d137fe4f029eb0a43b458f584211cc56 (patch) | |
tree | f9598cc832b22f9b2d8a5954a0a817ac915f5091 /src/quick/items/qquickwindow.cpp | |
parent | 67ced4791ddabebfa19a2f101aa292b5eba60b90 (diff) |
Fix remaining QQWindow qCDebugs to show eventpoint IDs in hex
Change-Id: I04122218499733856136f5a49b72707a0e8885e5
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow.cpp')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 5538cadc06..359763bfb4 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -751,7 +751,7 @@ void QQuickWindowPrivate::setMouseGrabber(QQuickItem *grabber) if (grabber && touchMouseId != -1 && touchMouseDevice) { // update the touch item for mouse touch id to the new grabber - qCDebug(DBG_TOUCH_TARGET) << "TP (mouse)" << touchMouseId << "->" << q->mouseGrabberItem(); + qCDebug(DBG_TOUCH_TARGET) << "TP (mouse)" << hex << touchMouseId << "->" << q->mouseGrabberItem(); auto point = touchMouseDevice->pointerEvent()->pointById(touchMouseId); if (point) { point->setGrabberItem(grabber); @@ -2273,7 +2273,7 @@ void QQuickWindowPrivate::deliverTouchEvent(QQuickPointerTouchEvent *event) QQuickEventPoint *point = event->point(i); if (point->state() == QQuickEventPoint::Released) { int id = point->pointId(); - qCDebug(DBG_TOUCH_TARGET) << "TP" << id << "released"; + qCDebug(DBG_TOUCH_TARGET) << "TP" << hex << id << "released"; point->setGrabberItem(nullptr); if (id == touchMouseId) { touchMouseId = -1; |