diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-18 16:52:01 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-18 16:52:01 +0200 |
commit | 98470c504f9601b9bbe8c6be24eff4a96e9b4b14 (patch) | |
tree | 70d02a173973ff8bfbbef01cfebdc8f91a21709d /components/package/contents | |
parent | a1e856118ed9beb11ca99f20ec526f198fe6867b (diff) | |
download | kube-98470c504f9601b9bbe8c6be24eff4a96e9b4b14.tar.gz kube-98470c504f9601b9bbe8c6be24eff4a96e9b4b14.zip |
transfare accountId as well so that we can load and modify the settings
Diffstat (limited to 'components/package/contents')
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 2 | ||||
-rw-r--r-- | components/package/contents/ui/EditAccountDialog.qml | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index 6a9d2deb..f0b1d17e 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml | |||
@@ -174,7 +174,7 @@ Button { | |||
174 | 174 | ||
175 | anchors.fill: parent | 175 | anchors.fill: parent |
176 | 176 | ||
177 | //accountId: accountFactory.accountId | 177 | accountId: accountFactory.accountId |
178 | uiSource: accountFactory.uiPath | 178 | uiSource: accountFactory.uiPath |
179 | } | 179 | } |
180 | } | 180 | } |
diff --git a/components/package/contents/ui/EditAccountDialog.qml b/components/package/contents/ui/EditAccountDialog.qml index b2432eff..d065bbc2 100644 --- a/components/package/contents/ui/EditAccountDialog.qml +++ b/components/package/contents/ui/EditAccountDialog.qml | |||
@@ -29,6 +29,7 @@ Rectangle { | |||
29 | id: root | 29 | id: root |
30 | 30 | ||
31 | property variant uiSource | 31 | property variant uiSource |
32 | property variant accountId | ||
32 | 33 | ||
33 | color: ColorPalette.border | 34 | color: ColorPalette.border |
34 | opacity: 0.9 | 35 | opacity: 0.9 |
@@ -54,10 +55,10 @@ Rectangle { | |||
54 | } | 55 | } |
55 | 56 | ||
56 | Loader { | 57 | Loader { |
57 | |||
58 | anchors.fill: parent | 58 | anchors.fill: parent |
59 | 59 | ||
60 | source: uiSource | 60 | source: root.uiSource |
61 | onLoaded: item.accountId = root.accountId | ||
61 | } | 62 | } |
62 | 63 | ||
63 | Component.onCompleted: console.log(uiSource) | 64 | Component.onCompleted: console.log(uiSource) |