Commit c0487093 authored by Nate Graham's avatar Nate Graham
Browse files

Don't show "Show in Folder" buttons for radio streams

BUG: 439280
FIXED-IN: 21.08.01
parent df9e77c1
Pipeline #74232 passed with stage
in 18 seconds
......@@ -344,7 +344,7 @@ Kirigami.Page {
Kirigami.Action {
text: i18n("Show In Folder")
icon.name: 'document-open-folder'
visible: metaDataModel.fileUrl.toString() !== ""
visible: metaDataModel.fileUrl.toString() !== "" && !metaDataModel.fileUrl.toString().startsWith("http") && !metaDataModel.fileUrl.toString().startsWith("rtsp")
onTriggered: {
ElisaApplication.showInFolder(metaDataModel.fileUrl)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment