From 8cf790d6bc91e5e9c06651ffe4a193b625207f0d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 1 Jan 2017 23:18:24 +0100 Subject: Outboxcontroller and Mailcontroller --- components/package/contents/ui/Outbox.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'components/package/contents/ui') diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml index 5330cd4e..3a51e51a 100644 --- a/components/package/contents/ui/Outbox.qml +++ b/components/package/contents/ui/Outbox.qml @@ -37,11 +37,8 @@ ToolButton { dialog.visible = dialog.visible ? false : true } - KubeAction.Action { - id: sendNowAction - actionId: "org.kde.kube.actions.sendOutbox" - context: KubeAction.Context { - } + KubeFramework.OutboxController { + id: outboxController } //BEGIN Dialog @@ -88,7 +85,7 @@ ToolButton { height: Kirigami.Units.gridUnit * 2 text: qsTr("Send now.") onClicked: { - sendNowAction.execute() + outboxController.sendOutboxAction.execute() } } -- cgit v1.2.3