Fix warning when building objects with a Q_OBJECT macro
authorTobias Hunger <tobias.hunger@gmx.de>
Thu, 15 Sep 2011 09:29:34 +0000 (11:29 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 16:34:49 +0000 (18:34 +0200)
commit1416f4c595d6078c08f93483695e0b64c7fbb2a7
treef77cb64a738d7b0d5f32f780e97c4b6f9a146739
parent80d406ce39d23ec6c859b9aa427dee8d0d3c9d50
Fix warning when building objects with a Q_OBJECT macro

Do not trigger a self-assign warning when running into code containing
a Q_OBJECT macro. Currently this happens a lot e.g. when using clang
to build code using Qt.

Change-Id: I68995624b18406f337318599e463f36f87486e66
Reviewed-on: http://codereview.qt-project.org/4960
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/corelib/kernel/qobjectdefs.h