[utilities/krecorder] 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 fa923dd3f720d24621c85b8bfffa9b315c0ac07e by Devin Lin.
Committed on 22/07/2026 at 04:08.
Pushed by devinlin into branch 'master'.

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.

M  +0    -10   src/contents/ui/components/ListDelegate.qml

https://invent.kde.org/utilities/krecorder/-/commit/fa923dd3f720d24621c85b8bfffa9b315c0ac07e

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 {
         }
     }
 }
-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.