src/gui/kernel/qwidget_win.cpp
branchRCL_3
changeset 7 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 7:3f74d0d4af4c
  2050 #if !defined(QT_NO_NATIVE_GESTURES)
  2050 #if !defined(QT_NO_NATIVE_GESTURES)
  2051     Q_Q(QWidget);
  2051     Q_Q(QWidget);
  2052     if (!q || !q->isVisible() || !nativeGesturePanEnabled)
  2052     if (!q || !q->isVisible() || !nativeGesturePanEnabled)
  2053         return;
  2053         return;
  2054 
  2054 
       
  2055     if (!QApplicationPrivate::HasTouchSupport)
       
  2056         return;
  2055     QApplicationPrivate *qAppPriv = QApplicationPrivate::instance();
  2057     QApplicationPrivate *qAppPriv = QApplicationPrivate::instance();
  2056     if (!qAppPriv->SetGestureConfig)
  2058     if (!qAppPriv->SetGestureConfig)
  2057         return;
  2059         return;
  2058     WId winid = q->internalWinId();
  2060     WId winid = q->internalWinId();
  2059 
  2061