fix(gifs): Change `Image` to `AnimatedImage` in StatusImageModal

Closes: #5251
This commit is contained in:
Boris Melnik 2022-05-17 00:44:34 +03:00
parent 198da4fdc6
commit c3c82bd6ac
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ Popup {
root.open();
}
contentItem: Image {
contentItem: AnimatedImage {
id: messageImage
asynchronous: true
fillMode: Image.PreserveAspectFit
@ -56,6 +56,7 @@ Popup {
mipmap: true
smooth: false
onStatusChanged: playing = (status == AnimatedImage.Ready)
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton