Commit fe825254 authored by Dawit Alemayehu's avatar Dawit Alemayehu
Browse files

Do not prompt the user when a website login credential is unchanged and had

previously been saved in persistent storage.

BUG: 305765
FIXED-IN: 4.9.2
parent 298adf3a
......@@ -473,9 +473,11 @@ void KWebWallet::saveFormData(QWebFrame *frame, bool recursive, bool ignorePassw
if (isAlreadyPending)
return;
for (int i = 0 ; i < list.count(); ++i) {
if (hasCachedFormData(list.at(i)))
list.takeAt(i);
QMutableListIterator<WebForm> it (list);
while (it.hasNext()) {
const WebForm form (it.next());
if (hasCachedFormData(form))
it.remove();
}
if (list.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment