Add missing timestamp to tablet events
When copying the event for notify, timestamp was not set as it is for other input events. Pick-to: 6.5 6.6 Change-Id: I81bb89993027c902db2d1113605d6e6a0faf98f1 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>bb10
parent
c6138bf9de
commit
efb06499a7
|
|
@ -2949,6 +2949,7 @@ bool QApplication::notify(QObject *receiver, QEvent *e)
|
|||
tablet->tangentialPressure(), tablet->rotation(), tablet->z(),
|
||||
tablet->modifiers(), tablet->button(), tablet->buttons());
|
||||
te.m_spont = e->spontaneous();
|
||||
te.setTimestamp(tablet->timestamp());
|
||||
te.setAccepted(false);
|
||||
res = d->notify_helper(w, w == receiver ? tablet : &te);
|
||||
eventAccepted = ((w == receiver) ? tablet : &te)->isAccepted();
|
||||
|
|
|
|||
Loading…
Reference in New Issue