Fix assertion at shutdown or on QObject destruction.
When handling the destroyed signal of a QObject, the QMetaObject of the
sender() will point to the global static QObject meta object. Thus, we
also cache its signal argument types. This way, we are able to properly
handle the destroyed signal with minimum effort.
Change-Id: Iba1a3fc94d55adad178302cc847fd4285815e689
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
| commit | 5354cb73e25afbdf55b78c29ca32c1b305aa7efe |
| parent | d2441caf6eb37a5fc0ae250064e8df344070a522 |
| author | Milian Wolff <milian.wolff@kdab.com> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Wed, 8 Jan 2014 15:03:49 +0100 |