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/regexps.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/regexps.cpp') diff --git a/src/regexps.cpp b/src/regexps.cpp index 32031c0..d407d6b 100644 --- a/src/regexps.cpp +++ b/src/regexps.cpp @@ -9,7 +9,6 @@ ***************************************************************************/ #include "regexps.h" -#include "debug.h" #include @@ -18,16 +17,16 @@ bool match_dversion(TQString version) static TQRegExp rx_revision(rxs_revision); TQString allowed_vchars = ".+\\w"; - kdDebug(DEBUG_ZONE) << version << endl; + kdDebug(7130) << version << endl; if (version[1] == ':') { allowed_vchars += ":"; if (! version[0].isDigit()) return false; - kdDebug(DEBUG_ZONE) << "Matched epoch" << endl; + kdDebug(7130) << "Matched epoch" << endl; version = version.right( version.length() - 2 ); } - kdDebug(DEBUG_ZONE) << version << endl; + kdDebug(7130) << version << endl; int rev_pos = version.findRev('-'); if (rev_pos > -1) { @@ -36,7 +35,7 @@ bool match_dversion(TQString version) if (! rx_revision.exactMatch(revision)) return false; - kdDebug(DEBUG_ZONE) << "Matched revision" << endl; + kdDebug(7130) << "Matched revision" << endl; version.truncate( version.length() - rev_pos - 1 ); } -- cgit v1.2.1