mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
[KWallet] Don't load incorrect passwords from wallet.
This commit is contained in:
parent
54a3509fcb
commit
74edb1efa1
@ -178,7 +178,10 @@ void KWalletPasswordBackend::initialize()
|
||||
|
||||
QMap<QString, QByteArray>::const_iterator i = entries.constBegin();
|
||||
while (i != entries.constEnd()) {
|
||||
m_allEntries.append(decodeEntry(i.value()));
|
||||
PasswordEntry entry = decodeEntry(i.value());
|
||||
if (entry.isValid()) {
|
||||
m_allEntries.append(entry);
|
||||
}
|
||||
++i;
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ PluginSpec KWalletPlugin::pluginSpec()
|
||||
spec.name = "KWallet Passwords";
|
||||
spec.info = "KWallet password backend";
|
||||
spec.description = "Provides support for storing passwords in KWallet";
|
||||
spec.version = "0.1.0";
|
||||
spec.version = "0.1.2";
|
||||
spec.author = "David Rosca <nowrep@gmail.com>";
|
||||
spec.icon = QPixmap(":kwp/data/icon.png");
|
||||
spec.hasSettings = false;
|
||||
|
Loading…
Reference in New Issue
Block a user