diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2017-04-19 11:16:14 +0200 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2017-04-23 10:11:14 +0000 |
commit | 2eee24702b8f3a83e8fdd810fa22f2fe65ee848b (patch) | |
tree | a795b0ea79b1d0584d16125dc3f8944a62d5ceb6 /qmake/library/qmakeglobals.h | |
parent | 88b6abcebf29b455438d8da7db9fd5aa1aed2bf5 (diff) |
Fix UB in QSplitter::childEvent
The widget might be in the QObject destructor when the event is received,
so we can't static cast.
There is no need to check for isWindow for ChildRemoved because it would
not otherwise be on our list.
Change-Id: Ifc0a2979f1f6720f1963399276a28ac4a3224fff
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'qmake/library/qmakeglobals.h')
0 files changed, 0 insertions, 0 deletions