[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kwallet/client
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2003-11-16 16:00:33
[Download RAW message or body]

CVS commit by hausmann: 

- pass the right window id instead of a widget pointer (to be post-
  reviewed by pmax :)


  M +3 -3      kwallet.cc   1.40


--- kdelibs/kwallet/client/kwallet.cc  #1.39:1.40
@@ -161,7 +161,7 @@ int Wallet::deleteWallet(const QString& 
 Wallet *Wallet::openWallet(const QString& name, WId w, OpenType ot) {
         if (ot == Asynchronous) {
-                Wallet *w = new Wallet(-1, name);
-                DCOPRef("kded", "kwalletd").send("openAsynchronous", name, w->objId(), uint(w));
-                return w;
+                Wallet *wallet = new Wallet(-1, name);
+                DCOPRef("kded", "kwalletd").send("openAsynchronous", name, wallet->objId(), uint(w));
+                return wallet;
         }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic