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