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 <Friedemann.Kleint@qt.io>
This commit is contained in:
Shawn Rutledge 2020-06-30 12:03:09 +02:00
parent a5c6329829
commit f1ccccb7dd

View File

@ -403,7 +403,7 @@ QDebug operator<<(QDebug debug, const QPointingDevice *device)
if (device) { if (device) {
debug << '"' << device->name() << "\", type="; debug << '"' << device->name() << "\", type=";
QtDebugUtils::formatQEnum(debug, device->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="; debug << ", pointerType=";
QtDebugUtils::formatQEnum(debug, device->pointerType()); QtDebugUtils::formatQEnum(debug, device->pointerType());
debug << ", capabilities="; debug << ", capabilities=";