Fix QML warning in ImageDelegate

This commit is contained in:
Tobias Fella
2021-08-25 00:20:24 +02:00
parent 6570cf396a
commit c9935804b0

View File

@@ -31,7 +31,7 @@ Image {
Image {
anchors.fill: parent
source: "image://blurhash/" + content.info["xyz.amorgan.blurhash"]
source: content.info["xyz.amorgan.blurhash"] ? ("image://blurhash/" + content.info["xyz.amorgan.blurhash"]) : ""
visible: parent.status !== Image.Ready
}