From b3223155b178427354b44f05167d0afba0926cbd Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 24 Apr 2017 21:51:24 +0200 Subject: Another bunch of controllers gone --- framework/qml/AccountSwitcher.qml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'framework/qml/AccountSwitcher.qml') 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 { width: parent.width iconName: Kube.Icons.menu_inverted - Kube.FolderController { - id: folderController - accountId: accountId - } - Kube.AccountsModel { id: accountsModel } @@ -74,9 +69,8 @@ Controls.ToolButton { //iconName: "view-refresh" text: "Sync" - enabled: folderController.synchronizeAction.enabled onClicked: { - folderController.synchronizeAction.execute() + Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": accountSwitcher.accountId}) popup.close() } } -- cgit v1.2.3