equal
deleted
inserted
replaced
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 |