summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwinnativepangesturerecognizer_win.cpp')
-rw-r--r--src/gui/kernel/qwinnativepangesturerecognizer_win.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp b/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp
index 5fceb13161..7dff54317e 100644
--- a/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp
+++ b/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp
@@ -52,6 +52,8 @@
QT_BEGIN_NAMESPACE
+#if !defined(QT_NO_NATIVE_GESTURES)
+
QWinNativePanGestureRecognizer::QWinNativePanGestureRecognizer()
{
}
@@ -122,4 +124,6 @@ void QWinNativePanGestureRecognizer::reset(QGesture *state)
QGestureRecognizer::reset(state);
}
+#endif // QT_NO_NATIVE_GESTURES
+
QT_END_NAMESPACE