diff options
| author | Steffen Hartleib <[email protected]> | 2020-09-26 14:53:57 +0000 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-09-26 14:53:57 +0000 |
| commit | 81cf9f0375c937b973900dce0979d9218d9960ee (patch) | |
| tree | 25d0dd3b3641b190fdd3c0b2bffe9e056e5ec19c /src/kitemviews/kitemlistcontroller.h | |
| parent | b02046c5484f9c5bb9b5146fc4d521e4da2103a3 (diff) | |
Allow interaction with folder/files with the stylus again
This Patch works for Wayland and X.
BUG: 426582
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
| -rw-r--r-- | src/kitemviews/kitemlistcontroller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kitemviews/kitemlistcontroller.h b/src/kitemviews/kitemlistcontroller.h index d929027b7..eb6d85e8a 100644 --- a/src/kitemviews/kitemlistcontroller.h +++ b/src/kitemviews/kitemlistcontroller.h @@ -301,6 +301,7 @@ private: bool wheelEvent(QGraphicsSceneWheelEvent* event, const QTransform& transform); bool resizeEvent(QGraphicsSceneResizeEvent* event, const QTransform& transform); bool gestureEvent(QGestureEvent* event, const QTransform& transform); + bool touchBeginEvent(QGestureEvent* event, const QTransform& transform); void tapTriggered(QTapGesture* tap, const QTransform& transform); void tapAndHoldTriggered(QGestureEvent* event, const QTransform& transform); void pinchTriggered(QGestureEvent* event, const QTransform& transform); @@ -319,6 +320,7 @@ private: bool m_scrollerIsScrolling; bool m_pinchGestureInProgress; bool m_mousePress; + bool m_isTouchEvent; SelectionBehavior m_selectionBehavior; AutoActivationBehavior m_autoActivationBehavior; MouseDoubleClickAction m_mouseDoubleClickAction; @@ -333,7 +335,6 @@ private: Qt::GestureType m_swipeGesture; Qt::GestureType m_twoFingerTapGesture; - Qt::MouseEventSource m_lastSource; /** * When starting a rubberband selection during a Shift- or Control-key has been |
