mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-22 02:02:10 +02: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();
|
QMap<QString, QByteArray>::const_iterator i = entries.constBegin();
|
||||||
while (i != entries.constEnd()) {
|
while (i != entries.constEnd()) {
|
||||||
m_allEntries.append(decodeEntry(i.value()));
|
PasswordEntry entry = decodeEntry(i.value());
|
||||||
|
if (entry.isValid()) {
|
||||||
|
m_allEntries.append(entry);
|
||||||
|
}
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ PluginSpec KWalletPlugin::pluginSpec()
|
||||||
spec.name = "KWallet Passwords";
|
spec.name = "KWallet Passwords";
|
||||||
spec.info = "KWallet password backend";
|
spec.info = "KWallet password backend";
|
||||||
spec.description = "Provides support for storing passwords in KWallet";
|
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.author = "David Rosca <nowrep@gmail.com>";
|
||||||
spec.icon = QPixmap(":kwp/data/icon.png");
|
spec.icon = QPixmap(":kwp/data/icon.png");
|
||||||
spec.hasSettings = false;
|
spec.hasSettings = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user