mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-21 09:31:32 -08:00
FdoSecrets: fix service not registered if start with the plugin enabled
This commit is contained in:
1 parent
12efb281f8
commit
90cdfc4a6d
1 file changed
+2
-1
@@ -47,7 +47,6 @@ namespace FdoSecrets
|
||||
, m_insdieEnsureDefaultAlias(false)
|
||||
, m_serviceWatcher(nullptr)
|
||||
{
|
||||
registerWithPath(QStringLiteral(DBUS_PATH_SECRETS), new ServiceAdaptor(this));
|
||||
}
|
||||
|
||||
Service::~Service()
|
||||
@@ -64,6 +63,8 @@ namespace FdoSecrets
|
||||
return false;
|
||||
}
|
||||
|
||||
registerWithPath(QStringLiteral(DBUS_PATH_SECRETS), new ServiceAdaptor(this));
|
||||
|
||||
// Connect to service unregistered signal
|
||||
m_serviceWatcher.reset(new QDBusServiceWatcher());
|
||||
connect(m_serviceWatcher.data(),
|
||||
|
||||
Reference in new issue
Block a user