summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/AccountSwitcher.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui/AccountSwitcher.qml')
-rw-r--r--components/package/contents/ui/AccountSwitcher.qml19
1 files changed, 13 insertions, 6 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml
index bfdc4f7a..79eba65b 100644
--- a/components/package/contents/ui/AccountSwitcher.qml
+++ b/components/package/contents/ui/AccountSwitcher.qml
@@ -22,12 +22,7 @@ import QtQuick.Layouts 1.1
22import org.kde.kirigami 1.0 as Kirigami 22import org.kde.kirigami 1.0 as Kirigami
23 23
24import org.kube.framework.domain 1.0 as KubeFramework 24import org.kube.framework.domain 1.0 as KubeFramework
25 25import org.kube.components 1.0 as KubeComponents
26/*
27 C omboBox { ** *
28 model: KubeFramework.AccountsModel { }
29 textRole: "name"
30 } */
31 26
32Button { 27Button {
33 id: accountSwitcher 28 id: accountSwitcher
@@ -78,6 +73,18 @@ Button {
78 } 73 }
79 74
80 text: "Create new Account" 75 text: "Create new Account"
76
77 onClicked: {
78 newAccountComponent.createObject(app)
79 }
80
81 Component {
82 id: newAccountComponent
83 KubeComponents.NewAccountDialog {
84 id: settings
85 anchors.fill: parent
86 }
87 }
81 } 88 }
82 89
83 Button { 90 Button {