Define interface name on the leaf class

Otherwise it uses org.kde.kdeconnect.DesktopDaemon and signals are not
properly propagated.
This commit is contained in:
Aleix Pol 2015-04-29 02:25:49 +02:00
parent 2f7e6f7de2
commit e34a29103c

View file

@ -64,6 +64,7 @@ void initializeTermHandlers(QCoreApplication* app, Daemon* daemon)
class DesktopDaemon : public Daemon
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.kde.kdeconnect.daemon")
public:
DesktopDaemon(QObject* parent = Q_NULLPTR)
: Daemon(parent)