summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nicoletti <[email protected]>2018-01-27 22:36:52 -0200
committerDaniel Nicoletti <[email protected]>2018-01-27 22:36:52 -0200
commit58283ab3e7d011983b171eabe85b23dbe5144cc1 (patch)
tree24b45cdbefeba9487b28c9a9d7ba5741fc8bd79b
parente827a139a9e4612a12c284014e1b65dec44322e6 (diff)
Don't lazy register the DBus stuff
-rw-r--r--print-manager-kded/PrintManagerKded.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/print-manager-kded/PrintManagerKded.cpp b/print-manager-kded/PrintManagerKded.cpp
index 546b125..eab135a 100644
--- a/print-manager-kded/PrintManagerKded.cpp
+++ b/print-manager-kded/PrintManagerKded.cpp
@@ -22,16 +22,12 @@
#include "NewPrinterNotification.h"
-#include <QTimer>
-
PrintManagerKded::PrintManagerKded(QObject *parent, const QVariantList &args) :
KDEDModule(parent)
{
Q_UNUSED(args)
- QTimer::singleShot(0, this, [this] () {
- new NewPrinterNotification(this);
- });
+ new NewPrinterNotification(this);
}
PrintManagerKded::~PrintManagerKded()