diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-12-19 14:42:13 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-08 15:03:49 +0100 |
commit | 5354cb73e25afbdf55b78c29ca32c1b305aa7efe (patch) | |
tree | 71270d20be228b1aedc418bc47d3d538a2791d06 /tests | |
parent | d2441caf6eb37a5fc0ae250064e8df344070a522 (diff) | |
download | qtwebchannel-5354cb73e25afbdf55b78c29ca32c1b305aa7efe.tar.gz |
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions