diff options
-rw-r--r-- | src/gui/kernel/qpointingdevice.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/kernel/qpointingdevice.h b/src/gui/kernel/qpointingdevice.h index de33e27bd0..f1b156bcb6 100644 --- a/src/gui/kernel/qpointingdevice.h +++ b/src/gui/kernel/qpointingdevice.h @@ -107,7 +107,12 @@ public: bool operator==(const QPointingDevice &other) const; Q_SIGNALS: - void grabChanged(QObject *grabber, GrabTransition transition, const QPointerEvent *event, const QEventPoint &point) const; + void grabChanged(QObject *grabber, QPointingDevice::GrabTransition transition, + const QPointerEvent *event, const QEventPoint &point) +#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) + const +#endif + ; protected: QPointingDevice(QPointingDevicePrivate &d, QObject *parent); |