From c0e31d638761a003042cf2e1f19c283eb9136ffc Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Tue, 23 Mar 2021 13:23:26 +0100 Subject: Remove QWindowSystemInterface::handleGestureEventWithSequenceIdAndValue() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was added in fbfc8ffbf39e2e7a540d4d576ec61bea7db63416 but left unused in Qt 5; and we don't anticipate needing it now either. Change-Id: I3d1f1301c8896df04255ebef5bacb5c5027dc7ae Reviewed-by: Tor Arne Vestbø Reviewed-by: Povilas Kanapickas --- src/gui/kernel/qwindowsysteminterface.cpp | 11 ----------- src/gui/kernel/qwindowsysteminterface.h | 2 -- 2 files changed, 13 deletions(-) (limited to 'src/gui') diff --git a/src/gui/kernel/qwindowsysteminterface.cpp b/src/gui/kernel/qwindowsysteminterface.cpp index 2f26d38dde..a79ff07c54 100644 --- a/src/gui/kernel/qwindowsysteminterface.cpp +++ b/src/gui/kernel/qwindowsysteminterface.cpp @@ -1058,17 +1058,6 @@ bool QWindowSystemInterface::handleGestureEventWithRealValue(QWindow *window, ul e->realValue = value; return QWindowSystemInterfacePrivate::handleWindowSystemEvent(e); } - -bool QWindowSystemInterface::handleGestureEventWithSequenceIdAndValue(QWindow *window, ulong timestamp, const QPointingDevice *device, - Qt::NativeGestureType type, ulong sequenceId, quint64 value, - const QPointF &local, const QPointF &global) -{ - QWindowSystemInterfacePrivate::GestureEvent *e = - new QWindowSystemInterfacePrivate::GestureEvent(window, timestamp, type, device, local, global); - e->sequenceId = sequenceId; - e->intValue = value; - return QWindowSystemInterfacePrivate::handleWindowSystemEvent(e); -} #endif // QT_NO_GESTURES void QWindowSystemInterface::handlePlatformPanelEvent(QWindow *w) diff --git a/src/gui/kernel/qwindowsysteminterface.h b/src/gui/kernel/qwindowsysteminterface.h index 13a428d837..1df4873c68 100644 --- a/src/gui/kernel/qwindowsysteminterface.h +++ b/src/gui/kernel/qwindowsysteminterface.h @@ -302,8 +302,6 @@ public: const QPointF &local, const QPointF &global); static bool handleGestureEventWithRealValue(QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type, qreal value, const QPointF &local, const QPointF &global); - static bool handleGestureEventWithSequenceIdAndValue(QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type, - ulong sequenceId, quint64 value, const QPointF &local, const QPointF &global); #endif // QT_NO_GESTURES static void handlePlatformPanelEvent(QWindow *window); -- cgit v1.2.3