diff --git a/interfaces/dbusinterfaces.cpp b/interfaces/dbusinterfaces.cpp index 02f2c22e8..1340bee59 100644 --- a/interfaces/dbusinterfaces.cpp +++ b/interfaces/dbusinterfaces.cpp @@ -25,7 +25,7 @@ QString DaemonDbusInterface::activatedService() { static const QString service = QStringLiteral("org.kde.kdeconnect"); auto reply = DbusHelper::sessionBus().interface()->startService(service); if (!reply.isValid()) { - qWarning() << "error activating kdeconnectd:" << DbusHelper::sessionBus().interface()->lastError(); + qWarning() << "error activating kdeconnectd:" << reply.error(); } return service; }