mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-24 09:25:33 +02:00
documentPreview: show default icon if image is not present
Change-Id: I66f048b1ed96d02fe286dfbcf90473ab677979e4
This commit is contained in:
parent
18c997fb99
commit
928c86a85d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue