mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
fix Quick Unlock QMap<QString,QString> D-Bus marshalling error
Register QMap<QString,QString> as a D-Bus metatype so Polkit CheckAuthorization can marshal the details argument. Without this, Quick Unlock fails with "Unregistered type QMap<QString,QString> passed in arguments".
This commit is contained in:
parent
8e561a93a5
commit
da85170801
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ Polkit::Polkit()
|
||||||
{
|
{
|
||||||
PolkitSubject::registerMetaType();
|
PolkitSubject::registerMetaType();
|
||||||
PolkitAuthorizationResults::registerMetaType();
|
PolkitAuthorizationResults::registerMetaType();
|
||||||
|
qDBusRegisterMetaType<QMap<QString, QString>>();
|
||||||
|
|
||||||
/* Note we explicitly use our own dbus path here, as the ::systemBus() method could be overridden
|
/* 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
|
through an environment variable to return an alternative bus path. This bus could have an application
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue