[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kio/misc/kwalletd
From: George Staikos <staikos () kde ! org>
Date: 2003-12-01 4:05:23
[Download RAW message or body]
CVS commit by staikos:
If the same window queues up multiple open requests, cancel all subsequent
ones when one of them fails.
Do not close this report yet, but does this help? I think any other problems
will likely need to be fixed inside khtml, if they exist.
CCMAIL: 69184@bugs.kde.org
M +11 -0 kwalletd.cpp 1.60
--- kdelibs/kio/misc/kwalletd/kwalletd.cpp #1.59:1.60
@@ -196,4 +196,15 @@ int KWalletD::open(const QString& wallet
_transactions.remove(xact);
+ if (rc < 0) {
+ // Kill off multiple requests from the same client on a failure
+ for (KWalletTransaction *x = _transactions.first(); x; /**/) {
+ if (appid == x->appid && x->tType == \
KWalletTransaction::Open && x->wallet == wallet && x->wId == wId) { + \
KWalletTransaction *tmp = x; + x = \
_transactions.next(); + _transactions.removeRef(tmp);
+ }
+ }
+ }
+
processTransactions();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic