diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-08-03 13:07:47 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-08-06 10:23:17 +0200 |
commit | b9873b7dde4042445dbb5ff3c46cea96b2dea4aa (patch) | |
tree | 5ab5f47ccbf7a069503fcafca2e9b4930a221e85 /tests | |
parent | 3caeb0187dec592c78a3bde8d0284475e00e30d4 (diff) |
Add QEventPoint::pressTimestamp() and priv setPressTimestamp()
There was no good reason for QEventPoint::pressTimestamp() to be
missing. The case for QEventPoint::timestamp() is a bit dubious
because it's redundant with QInputEvent::timestamp(); but for now,
we keep m_timestamp, in anticipation that Qt Quick may need to keep
copies of eventpoints between events, thus they need to avoid depending
on their shorter-lived parent events too much.
Change-Id: Iec38acfdfaa2afb3dc77d5cd1b95baa8d301c0fd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions