Commit b652a9fa authored by Volker Krause's avatar Volker Krause
Browse files

Explicitly register QDBusObjectPath as QtDBus meta type

Necessary for Qt6 to emit signals with QDBusObjectPath arguments.
Fixes the managertest unit test.
parent f08410a0
Pipeline #194501 passed with stage
in 2 minutes and 1 second
......@@ -18,6 +18,8 @@ Manager::Manager(QObject *parent)
: QObject(parent)
, mInterface(std::make_unique<ManagerInterface>(DBusHelper::serviceName(), QStringLiteral("/org/freedesktop/bolt"), DBusHelper::connection()))
if (!mInterface->isValid()) {
qCWarning(log_libkbolt, "Failed to connect to Bolt manager DBus interface: %s", qUtf8Printable(mInterface->lastError().message()));
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