Commit 6522a98b authored by Volker Krause's avatar Volker Krause
Browse files

Remove usage of KDBusConnectionPool

As per T12722 this is no longer needed, QDBusConnection now behaves
correctly in a multi-threaded scenario.
parent ca7b5b33
......@@ -36,10 +36,10 @@
#include <KCheckableProxyModel>
#include <KConfigGroup>
#include <KDBusConnectionPool>
#include <KSharedConfig>
#include <QApplication>
#include <QDBusConnection>
using namespace KCalendarCore;
......@@ -47,7 +47,7 @@ KOAlarmClient::KOAlarmClient(QObject *parent)
: QObject(parent)
{
new KOrgacAdaptor(this);
KDBusConnectionPool::threadConnection().registerObject(QStringLiteral("/ac"), this);
QDBusConnection::sessionBus().registerObject(QStringLiteral("/ac"), this);
qCDebug(KOALARMCLIENT_LOG);
if (dockerEnabled()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment