diff --git a/src/YubiKeyRecognizer.cpp b/src/YubiKeyRecognizer.cpp index 834656d..3aaf0b8 100644 --- a/src/YubiKeyRecognizer.cpp +++ b/src/YubiKeyRecognizer.cpp @@ -61,7 +61,7 @@ class YubiKeyRecognizer::Handler: public QDBusAbstractAdaptor { Q_OBJECT - Q_CLASSINFO("D-Bus Interface", "harbour.yubikey") + Q_CLASSINFO("D-Bus Interface", "harbour.yubikey.NDEF") Q_CLASSINFO("D-Bus Introspection", " \n" " \n" @@ -112,7 +112,7 @@ YubiKeyRecognizer::Handler::Handler( iIsoDep(Q_NULLPTR), iIsoDepValidId(0) { - iRegisteredObject = iSystemBus.registerObject(PATH, INTERFACE, this, + iRegisteredObject = iSystemBus.registerObject(PATH, this, QDBusConnection::ExportAllSlots); if (!iRegisteredObject) { iRegisteredService = false;