From da85170801f0e92aaccda2f7afbc2475dcd54b5d Mon Sep 17 00:00:00 2001 From: Loose Cannon Date: Wed, 25 Feb 2026 11:15:07 -0500 Subject: [PATCH] fix Quick Unlock QMap D-Bus marshalling error Register QMap as a D-Bus metatype so Polkit CheckAuthorization can marshal the details argument. Without this, Quick Unlock fails with "Unregistered type QMap passed in arguments". --- src/quickunlock/Polkit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quickunlock/Polkit.cpp b/src/quickunlock/Polkit.cpp index d73a7c71b..aad353587 100644 --- a/src/quickunlock/Polkit.cpp +++ b/src/quickunlock/Polkit.cpp @@ -48,6 +48,7 @@ Polkit::Polkit() { PolkitSubject::registerMetaType(); PolkitAuthorizationResults::registerMetaType(); + qDBusRegisterMetaType>(); /* Note we explicitly use our own dbus path here, as the ::systemBus() method could be overridden through an environment variable to return an alternative bus path. This bus could have an application