From 015851287d514d6025c3889c291f457156c6c089 Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Thu, 15 Apr 2021 23:09:45 +0200 Subject: [PATCH] Only enable one visible action on queuedelegate --- src/qml/QueueDelegate.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/QueueDelegate.qml b/src/qml/QueueDelegate.qml index 1202dd35..9d729599 100644 --- a/src/qml/QueueDelegate.qml +++ b/src/qml/QueueDelegate.qml @@ -122,11 +122,11 @@ Kirigami.SwipeListItem { } actions: [ - Kirigami.Action { + /*Kirigami.Action { text: i18n("Remove from Queue") icon.name: "list-remove" onTriggered: { DataManager.removeQueueItem(entry) } - }, + },*/ Kirigami.Action { text: i18n("Download") icon.name: "download" @@ -139,12 +139,12 @@ Kirigami.SwipeListItem { onTriggered: entry.enclosure.cancelDownload() visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloading }, - Kirigami.Action { + /*Kirigami.Action { text: i18n("Delete download") icon.name: "delete" onTriggered: entry.enclosure.deleteFile() visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded - }, + },*/ Kirigami.Action { iconName: "media-playback-start" text: "Play"