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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/io
From:       David Faure <faure () kde ! org>
Date:       2010-11-04 22:51:26
Message-ID: 20101104225126.0E283AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1193178 by dfaure:

simpler and probably faster, as recommended by ossi


 M  +1 -1      kdebug.cpp  


--- trunk/KDE/kdelibs/kdecore/io/kdebug.cpp #1193177:1193178
@@ -868,7 +868,7 @@
 {
     const double duration = (double)m_startTime.elapsed() / (double)1000.0;
     kDebug_data->mutex.lock();
-    kDebug_data->m_indentString.truncate(kDebug_data->m_indentString.length() - 2);
+    kDebug_data->m_indentString.chop(2);
     kDebug_data->mutex.unlock();
 
     // Print timing information, and a special message (DELAY) if the method took longer than 5s
[prev in list] [next in list] [prev in thread] [next in thread] 

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