summaryrefslogtreecommitdiffstats
path: root/framework/domain/outboxcontroller.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-02 13:57:44 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-02 14:01:13 +0100
commitccb647b4d0f7627bddf5df8b488ebcac2f463829 (patch)
tree8f2f0e1591d79c55b4cd59e4391f67bc21d38130 /framework/domain/outboxcontroller.cpp
parent9958a642b2c605b397be23b4ee6b02375c5d240e (diff)
downloadkube-ccb647b4d0f7627bddf5df8b488ebcac2f463829.tar.gz
kube-ccb647b4d0f7627bddf5df8b488ebcac2f463829.zip
Less boilerplate
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