[utilities/krecorder/release/26.08] src/contents/ui/components: ListDelegate: Fix right click by removing unused TapHandler
Devin Lin <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit b68802990faa4d1b0e5dab4ecee9246539c087c9 by Devin Lin. Committed on 22/07/2026 at 14:54. Pushed by devinlin into branch 'release/26.08'. ListDelegate: Fix right click by removing unused TapHandler TapHandler disables right click handling from ContextMenu.menu, preventing the right click menu from opening. Remove the TapHandler since we aren't using it anymore. (cherry picked from commit fa923dd3f720d24621c85b8bfffa9b315c0ac07e) Co-authored-by: Devin Lin <[email protected]> M +0 -10 src/contents/ui/components/ListDelegate.qml https://invent.kde.org/utilities/krecorder/-/commit/b68802990faa4d1b0e5dab4ecee9246539c087c9 diff --git a/src/contents/ui/components/ListDelegate.qml b/src/contents/ui/components/ListDelegate.qml index bd0c9e5..891e92a 100644 --- a/src/contents/ui/components/ListDelegate.qml +++ b/src/contents/ui/components/ListDelegate.qml @@ -12,7 +12,6 @@ Control { property bool showSeparator: false signal clicked() - signal rightClicked() signal longPressed() leftPadding: Kirigami.Units.largeSpacing @@ -29,14 +28,6 @@ Control { onTapped: root.clicked() onLongPressed: root.longPressed() } - TapHandler { - acceptedButtons: Qt.RightButton - enabled: !Kirigami.Settings.isMobile // Disabled on mobile due to QT bug causing this to trigger on touch. - onTapped: { - root.rightClicked() - } - } - Kirigami.Separator { anchors.bottom: parent.bottom anchors.left: parent.left @@ -48,4 +39,3 @@ Control { } } } -