From f2c12c582eee380ca2a430b64b7d19cd2e915446 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Tue, 20 Feb 2024 18:06:09 +0100 Subject: [PATCH] Remove duplicated actions --- src/qml/FileDelegateContextMenu.qml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/qml/FileDelegateContextMenu.qml b/src/qml/FileDelegateContextMenu.qml index 753e339eb..0ed8b65ee 100644 --- a/src/qml/FileDelegateContextMenu.qml +++ b/src/qml/FileDelegateContextMenu.qml @@ -76,23 +76,6 @@ DelegateContextMenu { width: Kirigami.Units.gridUnit * 25 }) }, - Kirigami.Action { - text: i18nc("@action:button 'Report' as in 'Report this event to the administrators'", "Report") - icon.name: "dialog-warning-symbolic" - visible: author.id !== currentRoom.localUser.id - onTriggered: applicationWindow().pageStack.pushDialogLayer("qrc:/org/kde/neochat/qml/ReportSheet.qml", { - room: currentRoom, - eventId: eventId - }, { - title: i18nc("@title", "Report Message"), - width: Kirigami.Units.gridUnit * 25 - }) - }, - Kirigami.Action { - text: i18n("View Source") - icon.name: "code-context" - onTriggered: RoomManager.viewEventSource(root.eventId) - }, DelegateContextMenu.ReportMessageAction {}, DelegateContextMenu.ViewSourceAction {} ]