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

List:       kde-commits
Subject:    KDE/kdenetwork/kppp
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-07-30 23:59:08
Message-ID: 1185839948.726330.15167.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 694534 by thiago:

Use QDebug instead of kdbgstream

 M  +3 -2      accounting.cpp  


--- trunk/KDE/kdenetwork/kppp/accounting.cpp #694533:694534
@@ -247,8 +247,9 @@
     // duration
     if((newCosts != _lastcosts) || (newLen != _lastlen)) {
 
-      kDebug(5002).form("SWITCHING RULES, new costs = %0.2f, new len = %0.2f\n",
-	     newCosts, newLen);
+      kDebug(5002) << "SWITCHING RULES, new costs = "
+                   << fixed << qSetRealNumberPrecision(2) << newCosts
+                   << "new len = " << newLen;
 
       killTimer(acct_timer_id);
       if(newLen > 0)
[prev in list] [next in list] [prev in thread] [next in thread] 

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