diff options
Diffstat (limited to 'components/package/contents/ui/Outbox.qml')
-rw-r--r-- | components/package/contents/ui/Outbox.qml | 9 |
1 files changed, 3 insertions, 6 deletions
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 { | |||
37 | dialog.visible = dialog.visible ? false : true | 37 | dialog.visible = dialog.visible ? false : true |
38 | } | 38 | } |
39 | 39 | ||
40 | KubeAction.Action { | 40 | KubeFramework.OutboxController { |
41 | id: sendNowAction | 41 | id: outboxController |
42 | actionId: "org.kde.kube.actions.sendOutbox" | ||
43 | context: KubeAction.Context { | ||
44 | } | ||
45 | } | 42 | } |
46 | 43 | ||
47 | //BEGIN Dialog | 44 | //BEGIN Dialog |
@@ -88,7 +85,7 @@ ToolButton { | |||
88 | height: Kirigami.Units.gridUnit * 2 | 85 | height: Kirigami.Units.gridUnit * 2 |
89 | text: qsTr("Send now.") | 86 | text: qsTr("Send now.") |
90 | onClicked: { | 87 | onClicked: { |
91 | sendNowAction.execute() | 88 | outboxController.sendOutboxAction.execute() |
92 | } | 89 | } |
93 | } | 90 | } |
94 | 91 | ||