Merge branch 'stable'
This commit is contained in:
commit
501e5431ec
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
[D-BUS Service]
|
[D-BUS Service]
|
||||||
Name=org.kde.kdeconnect
|
Name=org.kde.kdeconnect
|
||||||
Exec=${LIBEXEC_INSTALL_DIR}/kdeconnectd
|
Exec=@KDE_INSTALL_FULL_LIBEXECDIR@/kdeconnectd
|
||||||
|
|
|
@ -23,6 +23,9 @@
|
||||||
QString DaemonDbusInterface::activatedService() {
|
QString DaemonDbusInterface::activatedService() {
|
||||||
static const QString service = "org.kde.kdeconnect";
|
static const QString service = "org.kde.kdeconnect";
|
||||||
QDBusConnection::sessionBus().interface()->startService(service);
|
QDBusConnection::sessionBus().interface()->startService(service);
|
||||||
|
if (!QDBusConnection::sessionBus().interface()->isValid()) {
|
||||||
|
qWarning() << "error activating kdeconnectd:" << QDBusConnection::sessionBus().interface()->lastError();
|
||||||
|
}
|
||||||
return service;
|
return service;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue