Commit d8670a83 authored by Prince Gupta's avatar Prince Gupta 💬 Committed by Jean-Baptiste Kempf
Browse files

qml: silence warnings in albums expand delegate

parent 79b0d4b2
......@@ -197,7 +197,7 @@ Widgets.NavigableFocusScope {
anchors.fill: parent
Widgets.ListLabel {
text: rowModel ? rowModel.track_number : ""
text: !!rowModel && !!rowModel.track_number ? rowModel.track_number : ""
color: foregroundColor
font.weight: Font.Normal
......@@ -206,7 +206,7 @@ Widgets.NavigableFocusScope {
}
Widgets.ListLabel {
text: rowModel ? rowModel.title : ""
text: !!rowModel && !!rowModel.title ? rowModel.title : ""
color: foregroundColor
Layout.fillHeight: true
......
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