diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-24 21:51:24 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-24 21:51:24 +0200 |
commit | b3223155b178427354b44f05167d0afba0926cbd (patch) | |
tree | 25021116a0f465a6973e36b668945080f3b9fc4b /framework/qml/AccountSwitcher.qml | |
parent | 4ba8c5b72fd7a3db6e593853c4669750dc6dd2a2 (diff) | |
download | kube-b3223155b178427354b44f05167d0afba0926cbd.tar.gz kube-b3223155b178427354b44f05167d0afba0926cbd.zip |
Another bunch of controllers gone
Diffstat (limited to 'framework/qml/AccountSwitcher.qml')
-rw-r--r-- | framework/qml/AccountSwitcher.qml | 8 |
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 | } |