summaryrefslogtreecommitdiffstats
path: root/header.LGPL3
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-03-02 08:57:48 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2017-03-02 15:31:28 +0000
commit2b13ba0ca0a70605c4a189072e4bc0cf6d0601d2 (patch)
tree6de00e915383ed685efe3cdc29013de3bd51fe04 /header.LGPL3
parent8387d87bdcf7dfb359515f44b17f523791bc8edb (diff)
Fix UB in QWidgetItemV2::~QWidgetItemV2
We might get there because 'wid' is already partially deleted (called from ~QObject). In that case, it is an undefined behavior to call a QWidget member function on it. Use QObjectPrivate::get instead. Change-Id: I6da314bf8385684d1332aa031a2d92012941303b Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'header.LGPL3')
0 files changed, 0 insertions, 0 deletions