Commit 932c70eb authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by David Faure
Browse files

kio-mtp: register demon on D-Bus by service name org.kde.kmtpd5

Currently nothing tries to address the service via the well-known name,
but in case someone starts to do so, fixing X-KDE-DBus-ServiceName in the
JSON metadata to match the name used in the D-Bus service file
should ensure things work as expected.
Using org.kde.kmtpd5 as well-known service name matches the pattern
seen elsewhere with KDE services.
parent 2d2f5f10
Pipeline #67275 passed with stage
in 4 minutes and 5 seconds
......@@ -30,4 +30,4 @@ ecm_qt_declare_logging_category(kmtpd
kdbusaddons_generate_dbus_service_file(kiod5 org.kde.kmtp.daemon ${KDE_INSTALL_FULL_LIBEXECDIR_KF5})
kdbusaddons_generate_dbus_service_file(kiod5 org.kde.kmtpd5 ${KDE_INSTALL_FULL_LIBEXECDIR_KF5})
......@@ -68,7 +68,7 @@
"X-KDE-DBus-ServiceName": "kmtpd",
"X-KDE-DBus-ServiceName": "org.kde.kmtpd5",
"X-KDE-Kded-autoload": false,
"X-KDE-Kded-load-on-demand": true
......@@ -13,7 +13,7 @@ KMTPDInterface::KMTPDInterface(QObject *parent)
: QObject(parent)
// connect to the KDE MTP daemon over D-Bus
m_dbusInterface = new org::kde::kmtp::Daemon(QStringLiteral("org.kde.kiod5"),
m_dbusInterface = new org::kde::kmtp::Daemon(QStringLiteral("org.kde.kmtpd5"),
Supports Markdown
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