Protect implementation of QNativeGestureEvent against QT_NO_GESTURES
The definition and usage of QNativeGestureEvent had already been protected against QT_NO_GESTURES but the implementation had been missed out before. Change-Id: Ie039e08257ad5eb7705342e4248b904f6ceca8df Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
d270bd8673
commit
47efa9213d
@ -2278,6 +2278,7 @@ QTabletEvent::~QTabletEvent()
|
||||
|
||||
#endif // QT_NO_TABLETEVENT
|
||||
|
||||
#ifndef QT_NO_GESTURES
|
||||
/*!
|
||||
\class QNativeGestureEvent
|
||||
\since 5.2
|
||||
@ -2392,6 +2393,7 @@ QNativeGestureEvent::QNativeGestureEvent(Qt::NativeGestureType type, const QPoin
|
||||
Returns the position of the gesture as a QPointF, relative to the
|
||||
window that received the event.
|
||||
*/
|
||||
#endif // QT_NO_GESTURES
|
||||
|
||||
#ifndef QT_NO_DRAGANDDROP
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user