From 5b4c2c810c424d7f53fb5bbf702d70155256085b Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Sat, 19 Nov 2016 16:45:38 +0100 Subject: [PATCH] Clean exit on app close button --- components/TitleBar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/TitleBar.qml b/components/TitleBar.qml index 8e1c9e32..c5c9658a 100644 --- a/components/TitleBar.qml +++ b/components/TitleBar.qml @@ -167,7 +167,7 @@ Rectangle { MouseArea { anchors.fill: parent - onClicked: Qt.quit() + onClicked: appWindow.close(); } } }