summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qlayoutitem.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-03-02 08:55:35 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2017-03-02 10:42:55 +0000
commit8387d87bdcf7dfb359515f44b17f523791bc8edb (patch)
treebde1b191f5b28d7edb6c662f101607341dbaea3e /src/widgets/kernel/qlayoutitem.cpp
parent6965b8a59217e5f1db9e5986d6ccc8f5ff5f4e9c (diff)
QDialogButtonGroup: Fix removal of deleted buttons
As the destroyed() signal is emitted from ~QObject, it is not allowed to use static_cast to a QAbstractButton on that pointer anymore. And the qobject_cast will also fail which will keep a dangling pointer in the hash. Change-Id: If0d22fcc30cde87e771e70914c3afb04ea207289 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/kernel/qlayoutitem.cpp')
0 files changed, 0 insertions, 0 deletions