summaryrefslogtreecommitdiffstats
path: root/framework/domain/outboxcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/domain/outboxcontroller.cpp')
-rw-r--r--framework/domain/outboxcontroller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/domain/outboxcontroller.cpp b/framework/domain/outboxcontroller.cpp
index 3b4f0e62..49cba54f 100644
--- a/framework/domain/outboxcontroller.cpp
+++ b/framework/domain/outboxcontroller.cpp
@@ -25,9 +25,8 @@ SINK_DEBUG_AREA("outboxcontroller");
25 25
26OutboxController::OutboxController() 26OutboxController::OutboxController()
27 : Kube::Controller(), 27 : Kube::Controller(),
28 mSynchronizeOutboxAction{new Kube::ControllerAction} 28 mSynchronizeOutboxAction{new Kube::ControllerAction{this, &OutboxController::sendOutbox}}
29{ 29{
30 QObject::connect(mSynchronizeOutboxAction.data(), &Kube::ControllerAction::triggered, this, &OutboxController::sendOutbox);
31} 30}
32 31
33Kube::ControllerAction* OutboxController::sendOutboxAction() const 32Kube::ControllerAction* OutboxController::sendOutboxAction() const