src/gui/kernel/qwidget_win.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
child 30 5dc02b23752f
--- a/src/gui/kernel/qwidget_win.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/gui/kernel/qwidget_win.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -2052,6 +2052,8 @@
     if (!q || !q->isVisible() || !nativeGesturePanEnabled)
         return;
 
+    if (!QApplicationPrivate::HasTouchSupport)
+        return;
     QApplicationPrivate *qAppPriv = QApplicationPrivate::instance();
     if (!qAppPriv->SetGestureConfig)
         return;