diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-10-29 18:21:41 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-10-29 18:21:41 +0100 |
commit | 7cc4356bc2eceb5a66c2263bff44aa472d2ca290 (patch) | |
tree | 08047b60c477dc7026c7623e25770825b5ce7e5c /src/kvilib/config | |
parent | 3b217bbf505473102331a7e2ed274fe63a4c3457 (diff) | |
download | kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.tar.gz kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.zip |
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/kvilib/config')
-rw-r--r-- | src/kvilib/config/kvi_debug.h | 6 |
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 |