Skip to content
Snippets Groups Projects
Commit 6a0e895e authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Felix Paul Kühne
Browse files

qml: load placeholder image if the item is not preparsed for a while in PlaylistDelegate

parent 5bbfecd0
No related branches found
No related tags found
Loading
Pipeline #552049 passed with stage
in 11 minutes and 36 seconds
......@@ -172,6 +172,15 @@ T.Control {
source = VLCStyle.noArtAlbumCover
}
Timer {
running: (artwork.status === Image.Null)
interval: VLCStyle.duration_long
onTriggered: {
// Remove the preparse guard, enough time has passed:
artwork.source = Qt.binding(() => { return artwork.targetSource; })
}
}
Widgets.DefaultShadow {
anchors.centerIn: parent
......
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