From f0fdb47f4e3128da383cbd919e43e1088a235baa Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 22 Apr 2013 08:07:58 +0200 Subject: [PATCH] * Only log dtors in verbose mode. --- src/libtomahawk/Query.cpp | 2 +- src/libtomahawk/Track.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/Query.cpp b/src/libtomahawk/Query.cpp index cad9ec381..fe5fe6e1a 100644 --- a/src/libtomahawk/Query.cpp +++ b/src/libtomahawk/Query.cpp @@ -114,7 +114,7 @@ Query::Query( const QString& query, const QID& qid ) Query::~Query() { - tDebug() << Q_FUNC_INFO << toString(); + tDebug( LOGVERBOSE ) << Q_FUNC_INFO << toString(); QMutexLocker lock( &m_mutex ); m_ownRef.clear(); diff --git a/src/libtomahawk/Track.cpp b/src/libtomahawk/Track.cpp index 5b87b21fe..18acc6afe 100644 --- a/src/libtomahawk/Track.cpp +++ b/src/libtomahawk/Track.cpp @@ -91,7 +91,7 @@ Track::Track( const QString& artist, const QString& track, const QString& album, Track::~Track() { - tDebug() << Q_FUNC_INFO << toString(); + tDebug( LOGVERBOSE ) << Q_FUNC_INFO << toString(); }