summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-08-25 15:45:13 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-08-26 05:21:30 +0200
commit5449bddb045519acc49dc2171938526457055c95 (patch)
tree363e384729402859e650cdccbd98a1adbf0ad736 /src/gui/kernel/qevent.h
parentfab8933d5ba0423fb13b28901b45e1e55fa45d83 (diff)
Rename QTabletEvent::m_zTilt to m_z
This is a z coordinate unrelated to tilt, AFAIK. Amends ea2ae140e99bbd21515a99c5480e53129ef843c3 Change-Id: If165df3af290fbe7c2e5bfa94d578175debd53cd Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 210f6f1571..6b3324c18b 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -418,14 +418,14 @@ public:
#endif
inline qreal pressure() const { return point(0).pressure(); }
inline qreal rotation() const { return point(0).rotation(); }
- inline int z() const { return m_zTilt; }
+ inline int z() const { return m_z; }
inline qreal tangentialPressure() const { return m_tangential; }
inline int xTilt() const { return m_xTilt; }
inline int yTilt() const { return m_yTilt; }
protected:
quint32 m_reserved : 16;
- int m_xTilt, m_yTilt, m_zTilt;
+ int m_xTilt, m_yTilt, m_z;
qreal m_tangential;
};
#endif // QT_CONFIG(tabletevent)