From 6a2f0c2105fd2460bbfffb88a1e2b3ddb04aea70 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Tue, 23 Apr 2019 11:12:30 +0800 Subject: [PATCH] Fix a memory leak. --- imports/Spectral/Component/FullScreenImage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/Spectral/Component/FullScreenImage.qml b/imports/Spectral/Component/FullScreenImage.qml index 694ac86..c96046b 100644 --- a/imports/Spectral/Component/FullScreenImage.qml +++ b/imports/Spectral/Component/FullScreenImage.qml @@ -36,6 +36,6 @@ ApplicationWindow { color: "white" } - onClicked: root.close() + onClicked: root.destroy() } }