summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-02 09:30:34 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-02 09:30:34 +0200
commit0a85032ee6de380c63220717214595864b4a3d9c (patch)
tree4e0f40d52696913cf96b6c72b37a21e1068e02e3
parent5b253b3a5da0829fa9b8f54f26a7f8f6f450c6e9 (diff)
downloadkube-0a85032ee6de380c63220717214595864b4a3d9c.tar.gz
kube-0a85032ee6de380c63220717214595864b4a3d9c.zip
Shoot the object, not the component
-rw-r--r--accounts/maildir/package/contents/ui/MaildirAccountSettings.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml
index 0175fc46..d6292072 100644
--- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml
+++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml
@@ -78,7 +78,7 @@ Rectangle {
78 Button { 78 Button {
79 iconName: "folder" 79 iconName: "folder"
80 onClicked: { 80 onClicked: {
81 fileDialogComponent.createObject(parent); 81 fileDialogObject = fileDialogComponent.createObject(parent);
82 } 82 }
83 83
84 Component { 84 Component {
@@ -92,10 +92,10 @@ Rectangle {
92 92
93 onAccepted: { 93 onAccepted: {
94 maildirSettings.path = fileDialog.fileUrl 94 maildirSettings.path = fileDialog.fileUrl
95 fileDialogComponent.destroy() 95 fileDialogObject.destroy()
96 } 96 }
97 onRejected: { 97 onRejected: {
98 fileDialogComponent.destroy() 98 fileDialogObject.destroy()
99 } 99 }
100 } 100 }
101 } 101 }