diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-08-18 00:23:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-08-18 00:23:20 +0900 |
commit | dbc8742f9e8f6828a653ca500ec6ab40fb8ae7cd (patch) | |
tree | aa0f907f2c1c2f2dd6da5b8ca9c09f41c56be11b /src | |
parent | 41f30477dd877e37ed79b42253b79d6441dab7d9 (diff) | |
download | qt3-dbc8742f9e8f6828a653ca500ec6ab40fb8ae7cd.tar.gz qt3-dbc8742f9e8f6828a653ca500ec6ab40fb8ae7cd.zip |
Revert "Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice."
because of wrong reference to bug 1887.
This reverts commit 41f30477dd877e37ed79b42253b79d6441dab7d9.
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/qmetaobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qmetaobject.cpp b/src/kernel/qmetaobject.cpp index ba12615..9a86686 100644 --- a/src/kernel/qmetaobject.cpp +++ b/src/kernel/qmetaobject.cpp @@ -1244,7 +1244,7 @@ QMetaObjectCleanUp::~QMetaObjectCleanUp() void QMetaObjectCleanUp::setMetaObject( QMetaObject *&mo ) { #if defined(QT_CHECK_RANGE) - if (metaObject && metaObject != &mo) + if ( metaObject ) qWarning( "QMetaObjectCleanUp::setMetaObject: Double use of QMetaObjectCleanUp!" ); #endif metaObject = &mo; |