[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Amarok] 40eee69: Pedantic: Make debug output even more beautiful
From: Kevin Funk <krf () electrostorm ! net>
Date: 2010-10-31 11:08:37
Message-ID: 20101031110837.A9F5BA60A4 () git ! kde ! org
[Download RAW message or body]
commit 40eee695f0819da2daf86a2e3b6f8c2517b32be5
branch master
Author: Kevin Funk <krf@electrostorm.net>
Date: Sun Oct 31 11:56:23 2010 +0100
Pedantic: Make debug output even more beautiful
diff --git a/src/core/support/Debug.cpp b/src/core/support/Debug.cpp
index 1151f6b..9bb1d22 100644
--- a/src/core/support/Debug.cpp
+++ b/src/core/support/Debug.cpp
@@ -176,12 +176,12 @@ Block::~Block()
dbgstream()
<< qPrintable( colorize( QLatin1String( "END__:" ), m_color ) )
<< m_label
- << qPrintable( colorize( QString( "- Took: %3s""").arg( \
QString::number(duration, 'g', 2) ), m_color ) ); + << qPrintable( \
colorize( QString( "[Took: %3s]").arg( QString::number(duration, 'g', 2) ), m_color ) \
); else
dbgstream()
<< qPrintable( colorize( QString( "END__:" ), m_color ) )
<< m_label
- << qPrintable( reverseColorize( QString( "- DELAY Took (quite long) \
%3s").arg( QString::number(duration, 'g', 2) ), KDEBUG_WARN ) ); + << \
qPrintable( reverseColorize( QString( "[DELAY Took (quite long) %3s]").arg( \
QString::number(duration, 'g', 2) ), KDEBUG_WARN ) ); }
void Debug::stamp()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic