summaryrefslogtreecommitdiffstats
path: root/framework/qml/AccountSwitcher.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/AccountSwitcher.qml')
-rw-r--r--framework/qml/AccountSwitcher.qml8
1 files changed, 1 insertions, 7 deletions
diff --git a/framework/qml/AccountSwitcher.qml b/framework/qml/AccountSwitcher.qml
index 7a1e7592..a8151712 100644
--- a/framework/qml/AccountSwitcher.qml
+++ b/framework/qml/AccountSwitcher.qml
@@ -36,11 +36,6 @@ Controls.ToolButton {
36 width: parent.width 36 width: parent.width
37 iconName: Kube.Icons.menu_inverted 37 iconName: Kube.Icons.menu_inverted
38 38
39 Kube.FolderController {
40 id: folderController
41 accountId: accountId
42 }
43
44 Kube.AccountsModel { 39 Kube.AccountsModel {
45 id: accountsModel 40 id: accountsModel
46 } 41 }
@@ -74,9 +69,8 @@ Controls.ToolButton {
74 69
75 //iconName: "view-refresh" 70 //iconName: "view-refresh"
76 text: "Sync" 71 text: "Sync"
77 enabled: folderController.synchronizeAction.enabled
78 onClicked: { 72 onClicked: {
79 folderController.synchronizeAction.execute() 73 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": accountSwitcher.accountId})
80 popup.close() 74 popup.close()
81 } 75 }
82 } 76 }