Explorar o código

Fix oversight in deletion of artwork

Change-Id: Ib97ba647faf070b2e8978250f7e964aeffb82aa9
Donald Carr %!s(int64=9) %!d(string=hai) anos
pai
achega
660a63f47d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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