Skip to content
Snippets Groups Projects
Commit e309b778 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: provide fallback for title in ArtworkInfoWidget

If the input item does not have such metadata then
use `name` which uses the file name in the worst
case instead.
parent 79ae6033
No related branches found
No related tags found
1 merge request!5903qml: provide fallback for title in ArtworkInfoWidget
Pipeline #508802 passed with stage
in 11 minutes and 53 seconds
......@@ -203,9 +203,11 @@ AbstractButton {
text: {
if (paintOnly)
qsTr("Title")
return qsTr("Title")
else if (Player.title.length > 0)
return Player.title
else
Player.title
return Player.name
}
color: theme.fg.primary
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment