소스 검색

Fix oversight in deletion of artwork

Change-Id: Ib97ba647faf070b2e8978250f7e964aeffb82aa9
Donald Carr 9 년 전
부모
커밋
660a63f47d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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