Commit 8125cd53 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use kdbusconnectionpool.h directly

parent db38630f
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <AkonadiCore/agentfilterproxymodel.h> #include <AkonadiCore/agentfilterproxymodel.h>
#include <AkonadiCore/agentinstancecreatejob.h> #include <AkonadiCore/agentinstancecreatejob.h>
#include <AkonadiCore/agentmanager.h> #include <AkonadiCore/agentmanager.h>
#include <AkonadiCore/dbusconnectionpool.h> #include <kdbusconnectionpool.h>
#include <AkonadiWidgets/agenttypedialog.h> #include <AkonadiWidgets/agenttypedialog.h>
#include <kmessagebox.h> #include <kmessagebox.h>
...@@ -123,7 +123,7 @@ void AkonadiResourceCreator::agentInstanceCreated(KJob* j) ...@@ -123,7 +123,7 @@ void AkonadiResourceCreator::agentInstanceCreated(KJob* j)
// notified of the user cancelling the operation. // notified of the user cancelling the operation.
org::freedesktop::Akonadi::Agent::Control* agentControlIface = org::freedesktop::Akonadi::Agent::Control* agentControlIface =
new org::freedesktop::Akonadi::Agent::Control(QLatin1String("org.freedesktop.Akonadi.Agent.") + mAgentInstance.identifier(), new org::freedesktop::Akonadi::Agent::Control(QLatin1String("org.freedesktop.Akonadi.Agent.") + mAgentInstance.identifier(),
QLatin1String("/"), DBusConnectionPool::threadConnection(), this); QLatin1String("/"), KDBusConnectionPool::threadConnection(), this);
bool controlOk = agentControlIface && agentControlIface->isValid(); bool controlOk = agentControlIface && agentControlIface->isValid();
if (!controlOk) if (!controlOk)
{ {
......
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