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

List:       kde-commits
Subject:    KDE/kdenetwork/kppp
From:       Dirk Mueller <mueller () kde ! org>
Date:       2006-10-08 17:06:41
Message-ID: 1160327201.214196.5746.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 593670 by mueller:

fix & / && confusion


 M  +2 -2      accounts.cpp  


--- trunk/KDE/kdenetwork/kppp/accounts.cpp #593669:593670
@@ -238,12 +238,12 @@
   QueryReset dlg(this);
   int what = dlg.exec();
 
-  if(what && QueryReset::COSTS) {
+  if((what & QueryReset::COSTS)) {
     emit resetCosts(accountlist_l->text(accountlist_l->currentItem()));
     costedit->setText("0");
   }
 
-  if(what && QueryReset::VOLUME) {
+  if((what & QueryReset::VOLUME)) {
     emit resetVolume(accountlist_l->text(accountlist_l->currentItem()));
     voledit->setText(prettyPrintVolume(0));
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

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