diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-21 17:29:06 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-21 17:29:06 +0200 |
commit | ed23447fe0a163b6a9dfc5c0eb5560257231086c (patch) | |
tree | f26b1ae698ec72b1245c60b54c1c057a1757f4f0 /components/package/contents/ui/NewAccountDialog.qml | |
parent | c72539d2cf1dfa43a0a874ea4877d6047ba3dcb8 (diff) | |
download | kube-ed23447fe0a163b6a9dfc5c0eb5560257231086c.tar.gz kube-ed23447fe0a163b6a9dfc5c0eb5560257231086c.zip |
remove obsolete settings plugin
Diffstat (limited to 'components/package/contents/ui/NewAccountDialog.qml')
-rw-r--r-- | components/package/contents/ui/NewAccountDialog.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/components/package/contents/ui/NewAccountDialog.qml b/components/package/contents/ui/NewAccountDialog.qml index 3be72a78..d46728a5 100644 --- a/components/package/contents/ui/NewAccountDialog.qml +++ b/components/package/contents/ui/NewAccountDialog.qml | |||
@@ -28,6 +28,10 @@ import org.kube.components 1.0 as KubeComponents | |||
28 | KubeComponents.OverlayDialog { | 28 | KubeComponents.OverlayDialog { |
29 | id: root | 29 | id: root |
30 | 30 | ||
31 | KubeFramework.AccountsController { | ||
32 | id: accountsController | ||
33 | } | ||
34 | |||
31 | Item { | 35 | Item { |
32 | id: dialog | 36 | id: dialog |
33 | 37 | ||
@@ -103,7 +107,8 @@ KubeComponents.OverlayDialog { | |||
103 | text: "imap" | 107 | text: "imap" |
104 | 108 | ||
105 | onClicked: { | 109 | onClicked: { |
106 | stack.push(imap) | 110 | accountsController.createAccount("imap"); |
111 | //stack.push(imap) | ||
107 | } | 112 | } |
108 | } | 113 | } |
109 | 114 | ||
@@ -114,7 +119,8 @@ KubeComponents.OverlayDialog { | |||
114 | text: "maildir" | 119 | text: "maildir" |
115 | 120 | ||
116 | onClicked: { | 121 | onClicked: { |
117 | stack.push(maildir) | 122 | accountsController.createAccount("maildir"); |
123 | //stack.push(maildir) | ||
118 | } | 124 | } |
119 | } | 125 | } |
120 | } | 126 | } |