Output source in debug operator of QMouseEvent
Task-number: QTBUG-88678 Task-number: QTBUG-46412 Change-Id: If9282f5b845ef16ff7e7ce523f78e3b8adfbef90 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit 45c623c42ac26eafff8e401709fa4c97ed9cd585) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
f9ccf9d3f1
commit
5fb3b9e260
@ -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…
x
Reference in New Issue
Block a user