1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[KWallet] Don't load incorrect passwords from wallet.

This commit is contained in:
nowrep 2013-05-20 11:14:00 +02:00
parent 54a3509fcb
commit 74edb1efa1
2 changed files with 5 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;