Skip to content
Snippets Groups Projects
Commit 928c86a8 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

documentPreview: show default icon if image is not present

Change-Id: I66f048b1ed96d02fe286dfbcf90473ab677979e4
parent 18c997fb
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ Item {
ResponsiveImage {
id: fileIcon
visible: !mediaInfo.isImage && !mediaInfo.isAnimatedImage
visible: (!mediaInfo.isImage && !mediaInfo.isAnimatedImage) || icon.status == Image.Error
anchors.fill: parent
anchors.margins: 8
source: {
......@@ -120,7 +120,7 @@ Item {
}
AnimatedImage {
id: name
id: icon
property string fileSource: ""
anchors.fill: 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