From eb5c989f90ef1f8faf29fb0b39e9c46257f56fc9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 18 May 2022 15:41:08 +0900 Subject: Use dedicated kdDebug area. Signed-off-by: Michele Calgaro --- src/aptcache.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/aptcache.cpp') diff --git a/src/aptcache.cpp b/src/aptcache.cpp index f994051..8b2a57f 100644 --- a/src/aptcache.cpp +++ b/src/aptcache.cpp @@ -9,7 +9,6 @@ ***************************************************************************/ #include "aptcache.h" #include "apt.h" -#include "debug.h" #include "regexps.h" @@ -63,7 +62,7 @@ void AptCache::receivedStdErr( TDEProcess * /*process*/, char * buffer, int len } else { - kdDebug() << "Unmatched error : " << *i << endl; + kdDebug(7130) << "Unmatched error : " << *i << endl; } } } @@ -106,14 +105,14 @@ void AptCache::receiveSearch(const TQStringList& lines) if (!rx_parse.exactMatch(*i)) { - kdDebug(DEBUG_ZONE) << "Parsing error. Line is " << *i << endl; + kdDebug(7130) << "Parsing error. Line is " << *i << endl; continue; } emit token("package", rx_parse.cap(1)); emit token("short_desc", rx_parse.cap(2)); - kdDebug(DEBUG_ZONE) << "Found package : " << rx_parse.cap(1) << " - " << rx_parse.cap(2) << endl; + kdDebug(7130) << "Found package : " << rx_parse.cap(1) << " - " << rx_parse.cap(2) << endl; } } -- cgit v1.2.1