Clean up old code in comments

This commit is contained in:
Bart De Vries 2021-04-16 22:10:16 +02:00
parent 05e03d20e3
commit 9364a5b88f
2 changed files with 0 additions and 13 deletions

View File

@ -161,12 +161,5 @@ Kirigami.SwipeListItem {
visible: entry.queueStatus && entry.enclosure && entry.enclosure.status === Enclosure.Downloaded && audio.entry === entry && audio.playbackState === Audio.PlayingState
onTriggered: audio.pause()
}
/*,
Kirigami.Action {
text: i18n("Delete download")
icon.name: "delete"
onTriggered: entry.enclosure.deleteFile()
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded
}*/
]
}

View File

@ -143,12 +143,6 @@ Kirigami.SwipeListItem {
onTriggered: entry.enclosure.cancelDownload()
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloading
},
/*Kirigami.Action {
text: i18n("Delete download")
icon.name: "delete"
onTriggered: entry.enclosure.deleteFile()
visible: entry.enclosure && entry.enclosure.status === Enclosure.Downloaded
},*/
Kirigami.Action {
text: i18n("Play")
icon.name: "media-playback-start"