mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Fix building password backend plugins
This commit is contained in:
parent
41b6ae21cd
commit
4caab39269
@ -20,6 +20,9 @@
|
||||
#include "pluginproxy.h"
|
||||
#include "browserwindow.h"
|
||||
#include "../config.h"
|
||||
#include "mainapplication.h"
|
||||
#include "autofill.h"
|
||||
#include "passwordmanager.h"
|
||||
|
||||
#include <QTranslator>
|
||||
|
||||
@ -54,7 +57,7 @@ void GnomeKeyringPlugin::init(InitState state, const QString &settingsPath)
|
||||
|
||||
void GnomeKeyringPlugin::unload()
|
||||
{
|
||||
QZ_UNREGISTER_PASSWORD_BACKEND(m_backend);
|
||||
mApp->autoFill()->passwordManager()->unregisterBackend(m_backend);
|
||||
delete m_backend;
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,9 @@
|
||||
#include "pluginproxy.h"
|
||||
#include "browserwindow.h"
|
||||
#include "../config.h"
|
||||
#include "mainapplication.h"
|
||||
#include "autofill.h"
|
||||
#include "passwordmanager.h"
|
||||
|
||||
#include <QTranslator>
|
||||
|
||||
@ -54,7 +57,7 @@ void KWalletPlugin::init(InitState state, const QString &settingsPath)
|
||||
|
||||
void KWalletPlugin::unload()
|
||||
{
|
||||
QZ_UNREGISTER_PASSWORD_BACKEND(m_backend);
|
||||
mApp->autoFill()->passwordManager()->unregisterBackend(m_backend);
|
||||
delete m_backend;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user