The timestamp in input events is new in Qt5. When making copies of a
touch event this field must be copied too otherwise the event received
by the items will contain a default timestamp of 0.
Change-Id: I87dd337c964f34a6da6db808d83b7311df64fcd5
Reviewed-by: Martin Jones <martin.jones@nokia.com>
touchEvent.setModifiers(event->modifiers());
touchEvent.setTouchPointStates(eventStates);
touchEvent.setTouchPoints(eventPoints);
+ touchEvent.setTimestamp(event->timestamp());
touchEvent.accept();
q->sendEvent(item, &touchEvent);