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

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

SVN commit 593669 by mueller:

fix && / & confusion


 M  +2 -2      accounts.cpp  


--- branches/KDE/3.5/kdenetwork/kppp/accounts.cpp #593668:593669
@@ -232,12 +232,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