summaryrefslogtreecommitdiffstats
path: root/src/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qmetaobject.cpp')
-rw-r--r--src/kernel/qmetaobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qmetaobject.cpp b/src/kernel/qmetaobject.cpp
index df59af7fe..75bd9b5a7 100644
--- a/src/kernel/qmetaobject.cpp
+++ b/src/kernel/qmetaobject.cpp
@@ -1244,7 +1244,7 @@ TQMetaObjectCleanUp::~TQMetaObjectCleanUp()
void TQMetaObjectCleanUp::setMetaObject( TQMetaObject *&mo )
{
#if defined(QT_CHECK_RANGE)
- if (metaObject && metaObject != &mo)
+ if ( metaObject )
tqWarning( "TQMetaObjectCleanUp::setMetaObject: Double use of TQMetaObjectCleanUp!" );
#endif
metaObject = &mo;