Fix printing DBus error
This commit is contained in:
parent
6eb5e70607
commit
c64058132b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue