Browse Source

Fix oversight in deletion of artwork

Change-Id: Ib97ba647faf070b2e8978250f7e964aeffb82aa9
Donald Carr 9 năm trước cách đây
mục cha
commit
660a63f47d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      qml/basic/Basic.qml

+ 1 - 1
qml/basic/Basic.qml

@@ -75,7 +75,7 @@ Item {
 
                 function shift() {
                     if (headElement) {
-                        headElement.destroy()
+                        removeImage(headElement)
                     }
                     headElement = pictureArray.shift()
                     artworkHeight -= headElement.height