summaryrefslogtreecommitdiffstats
path: root/kdecore/kinstance.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-21 21:53:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-21 21:53:27 +0000
commit5c9fdee3d6bff8e3ac4bdac1a14699dc82e13a10 (patch)
tree49ef2c382534ac0899a3dde65417ac3bdc97ceb6 /kdecore/kinstance.cpp
parent3ff5f6f55bfd25e3ad46cdbc0dbc284a248dbda3 (diff)
downloadtdelibs-5c9fdee3d6bff8e3ac4bdac1a14699dc82e13a10.tar.gz
tdelibs-5c9fdee3d6bff8e3ac4bdac1a14699dc82e13a10.zip
Fix another Qt4 kdelibs FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1225590 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kinstance.cpp')
-rw-r--r--kdecore/kinstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kinstance.cpp b/kdecore/kinstance.cpp
index 2a579de0a..a03d6e891 100644
--- a/kdecore/kinstance.cpp
+++ b/kdecore/kinstance.cpp
@@ -40,7 +40,7 @@
static TQPtrDict<TQCString> *allOldInstances = 0;
#define DEBUG_ADD do { if (!allInstances) { allInstances = new TQPtrList<KInstance>(); allOldInstances = new TQPtrDict<TQCString>(); } allInstances->append(this); allOldInstances->insert( this, new TQCString( _name)); } while (false);
#define DEBUG_REMOVE do { allInstances->removeRef(this); } while (false);
- #define DEBUG_CHECK_ALIVE do { if (!allInstances->contains((KInstance*)this)) { TQCString *old = allOldInstances->find((KInstance*)this); qWarning("ACCESSING DELETED KINSTANCE! (%s)", old ? old->data() : "<unknown>"); assert(false); } } while (false);
+ #define DEBUG_CHECK_ALIVE do { if (!allInstances->tqcontains((KInstance*)this)) { TQCString *old = allOldInstances->tqfind((KInstance*)this); qWarning("ACCESSING DELETED KINSTANCE! (%s)", old ? old->data() : "<unknown>"); assert(false); } } while (false);
#else
#define DEBUG_ADD
#define DEBUG_REMOVE