Output source in debug operator of QMouseEvent
Task-number: QTBUG-88678 Task-number: QTBUG-46412 Pick-to: 6.0 Change-Id: If9282f5b845ef16ff7e7ce523f78e3b8adfbef90 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
60870ca68c
commit
45c623c42a
@ -4008,6 +4008,10 @@ QT_WARNING_POP
|
||||
dbg << " gbl=";
|
||||
QtDebugUtils::formatQPoint(dbg, me->globalPosition());
|
||||
dbg << " dev=" << me->device() << ')';
|
||||
if (me->source() != Qt::MouseEventNotSynthesized) {
|
||||
dbg << " source=";
|
||||
QtDebugUtils::formatQEnum(dbg, me->source());
|
||||
}
|
||||
}
|
||||
break;
|
||||
# if QT_CONFIG(wheelevent)
|
||||
|
Loading…
Reference in New Issue
Block a user