From f1ccccb7dd9e72c53c24d5794378877f6cf3181a Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Tue, 30 Jun 2020 12:03:09 +0200 Subject: [PATCH] Fix formatting in QDebug operator<< for QPointingDevice It was missing some spaces. Now looks like QPointingDevice("Wacom Intuos3 6x8 Pen stylus", type=Stylus, id=b, seat=30002, pointerType=Pen, capabilities=Position|Pressure|MouseEmulation|Hover|XTilt|YTilt, maximumTouchPoints=1, uniqueId=4c00079) Change-Id: I4a8203a2a5ee1f8c5c53a6a85b40ec1d25a3c2c0 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qpointingdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qpointingdevice.cpp b/src/gui/kernel/qpointingdevice.cpp index 63d61cc804..97bc8f5554 100644 --- a/src/gui/kernel/qpointingdevice.cpp +++ b/src/gui/kernel/qpointingdevice.cpp @@ -403,7 +403,7 @@ QDebug operator<<(QDebug debug, const QPointingDevice *device) if (device) { debug << '"' << device->name() << "\", type="; QtDebugUtils::formatQEnum(debug, device->type()); - debug << "id=" << Qt::hex << device->id() << Qt::dec << "seat=" << device->seatName(); + debug << ", id=" << Qt::hex << device->id() << Qt::dec << ", seat=" << device->seatName(); debug << ", pointerType="; QtDebugUtils::formatQEnum(debug, device->pointerType()); debug << ", capabilities=";