diff options
Diffstat (limited to 'framework/domain/outboxcontroller.cpp')
-rw-r--r-- | framework/domain/outboxcontroller.cpp | 3 |
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 | ||
26 | OutboxController::OutboxController() | 26 | OutboxController::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 | ||
33 | Kube::ControllerAction* OutboxController::sendOutboxAction() const | 32 | Kube::ControllerAction* OutboxController::sendOutboxAction() const |