Revert "Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice."

because of wrong reference to bug 1887.
This reverts commit f0bff64751.
pull/1/head
Michele Calgaro 10 years ago
parent f0bff64751
commit 686236f374

@ -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;

Loading…
Cancel
Save