Skip to content

Commit

Permalink
fixup! DeviceInterface: Be verbose about DBus registering
Browse files Browse the repository at this point in the history
  • Loading branch information
nephros committed Jan 26, 2024
1 parent 5d861ca commit 0f78a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/src/deviceinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -931,14 +931,14 @@ void DeviceInterface::registerDBus()
qDebug() << "Registering service on dbus" << SERVICE;
if (!connection.registerService(SERVICE))
{
qCritical() << Q_FUNC_INFO << "Unable to register service. Quit.;
qCritical() << Q_FUNC_INFO << "Unable to register service. Quit.";
QCoreApplication::quit();
return;
}

if (!connection.registerObject(PATH, this, QDBusConnection::ExportAllInvokables | QDBusConnection::ExportAllSignals | QDBusConnection::ExportAllProperties))
{
qCritical() << Q_FUNC_INFO << "Unable to register objects. Quit.;
qCritical() << Q_FUNC_INFO << "Unable to register objects. Quit.";
QCoreApplication::quit();
return;
}
Expand Down

0 comments on commit 0f78a49

Please sign in to comment.