summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-08-18 00:19:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-08-18 00:19:17 +0900
commit686236f374b7b60a13bf58a26b83c53f53369267 (patch)
treee8312140e1f25086640fa90d9773fe4f90ad2daf
parentf0bff64751c7d6911be3578d7578bae8180e987d (diff)
downloadtqt3-686236f374b7b60a13bf58a26b83c53f53369267.tar.gz
tqt3-686236f374b7b60a13bf58a26b83c53f53369267.zip
Revert "Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice."
because of wrong reference to bug 1887. This reverts commit f0bff64751c7d6911be3578d7578bae8180e987d.
-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;