summaryrefslogtreecommitdiffstats
path: root/src/kvilib/config/kvi_debug.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-10-29 18:21:41 +0100
committerSlávek Banko <[email protected]>2022-01-17 13:30:05 +0100
commiteb6ac02bb511f14a2506fb2f3c94d84d469e42cd (patch)
tree138827ff0c8800f67b7725c352950f0df421916b /src/kvilib/config/kvi_debug.h
parent351c95fe16505298db187a17e4ceff8d2377190b (diff)
downloadkvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.tar.gz
kvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.zip
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 7cc4356bc2eceb5a66c2263bff44aa472d2ca290)
Diffstat (limited to 'src/kvilib/config/kvi_debug.h')
-rw-r--r--src/kvilib/config/kvi_debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/config/kvi_debug.h b/src/kvilib/config/kvi_debug.h
index a54704a5..b5ea662f 100644
--- a/src/kvilib/config/kvi_debug.h
+++ b/src/kvilib/config/kvi_debug.h
@@ -36,15 +36,15 @@
//=============================================================================
#ifdef _KVI_DEBUG_CHECK_RANGE_
- #define __range_valid(_expr) if(!(_expr))debug("[kvirc]: ASSERT FAILED: \"%s\" is false in %s (%d)",#_expr,__FILE__,__LINE__)
- #define __range_invalid(_expr) if(_expr)debug("[kvirc]: ASSERT FAILED: \"%s\" is true in %s (%d)",#_expr,__FILE__,__LINE__)
+ #define __range_valid(_expr) if(!(_expr))tqDebug("[kvirc]: ASSERT FAILED: \"%s\" is false in %s (%d)",#_expr,__FILE__,__LINE__)
+ #define __range_invalid(_expr) if(_expr)tqDebug("[kvirc]: ASSERT FAILED: \"%s\" is true in %s (%d)",#_expr,__FILE__,__LINE__)
#else
#define __range_valid(_expr)
#define __range_invalid(_expr)
#endif
#if defined(_KVI_DEBUG_) || defined(__KVI_DEBUG__)
- #define __ASSERT(_expr) if(!(_expr))debug("[kvirc]: ASSERT FAILED: \"%s\" is false in %s (%d)",#_expr,__FILE__,__LINE__)
+ #define __ASSERT(_expr) if(!(_expr))tqDebug("[kvirc]: ASSERT FAILED: \"%s\" is false in %s (%d)",#_expr,__FILE__,__LINE__)
#else
#define __ASSERT(_expr)
#endif