summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@qt.io>2017-09-27 00:03:48 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-09-28 04:45:35 +0000
commit36af37c99c13244cac54313d38af183ef40133f5 (patch)
tree8d2a86656dd401be7571c76fe60597d3b25bf6d5 /src/gui/kernel/qevent.h
parent70422449ef892d7cc3086d88e5e9e43c771e2bc3 (diff)
Fix BIC issue with QNativeGestureEvent
Problem was for 32 bit macOS, or if QT_COORD_TYPE was configured to be float. Change-Id: I0a3d3d305f2e8a0f9be7c40f4fef7eabf4643d05 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index a6f97a21dc..e6e7339b10 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -307,6 +307,7 @@ public:
#endif
QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice *dev, const QPointF &localPos, const QPointF &windowPos,
const QPointF &screenPos, qreal value, ulong sequenceId, quint64 intArgument);
+ ~QNativeGestureEvent();
Qt::NativeGestureType gestureType() const { return mGestureType; }
qreal value() const { return mRealValue; }
@@ -322,8 +323,6 @@ public:
protected:
Qt::NativeGestureType mGestureType;
- quint8 mTouchDeviceId; // QTouchDevicePrivate::id
- quint8 mReserved[3]; // if qreal == double clang will pad the QPointF below to a 8-byte boundary
QPointF mLocalPos;
QPointF mWindowPos;
QPointF mScreenPos;