TouchPoint debug operator: show pointId in hex
Now that pointIds contain a bit-shifted device ID, it's easier to see the structure in hex. Change-Id: I80c76f1889dc3ab3ed68b34091cd976dbaad33f0 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>bb10
parent
4c26b48633
commit
0d43d4f794
|
|
@ -3887,7 +3887,7 @@ QDebug operator<<(QDebug dbg, const QTouchEvent::TouchPoint &tp)
|
|||
{
|
||||
QDebugStateSaver saver(dbg);
|
||||
dbg.nospace();
|
||||
dbg << "TouchPoint(" << tp.id() << " (";
|
||||
dbg << "TouchPoint(" << hex << tp.id() << dec << " (";
|
||||
QtDebugUtils::formatQRect(dbg, tp.rect());
|
||||
dbg << ") ";
|
||||
QtDebugUtils::formatQEnum(dbg, tp.state());
|
||||
|
|
|
|||
Loading…
Reference in New Issue