diff --git a/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.cpp b/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.cpp index c70893cde..7c384db50 100644 --- a/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.cpp +++ b/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.cpp @@ -42,9 +42,10 @@ PluginSpec GnomeKeyringPlugin::pluginSpec() return spec; } -void GnomeKeyringPlugin::init(const QString &sPath) +void GnomeKeyringPlugin::init(InitState state, const QString &settingsPath) { - Q_UNUSED(sPath); + Q_UNUSED(state); + Q_UNUSED(settingsPath); m_backend = new GnomeKeyringPasswordBackend; QZ_REGISTER_PASSWORD_BACKEND("GnomeKeyring", m_backend); diff --git a/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h b/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h index 6f3cacf72..6faf4216d 100644 --- a/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h +++ b/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h @@ -35,7 +35,7 @@ public: explicit GnomeKeyringPlugin(); PluginSpec pluginSpec(); - void init(const QString &sPath); + void init(InitState state, const QString &settingsPath); void unload(); bool testPlugin();