Skip to content

Commit

Permalink
[yubikey] Fixed D-Bus adaptor interface
Browse files Browse the repository at this point in the history
And made it compile against Qt 5.4
  • Loading branch information
monich committed Jul 31, 2022
1 parent 012867a commit 2b15136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YubiKeyRecognizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
" <interface name=\"harbour.yubikey.NDEF\">\n"
" <method name=\"HandleURI\">\n"
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2b15136

Please sign in to comment.