summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/plaincodemarker.h
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-05-20 09:25:32 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-05-20 09:36:17 (GMT)
commit4a8c7e432931b27e7a5440a6d15bde999e962f35 (patch)
treee5f0a37b68c6fa8a9b0c992f35d8f0c4c4e6ca61 /tools/qdoc3/plaincodemarker.h
parentd5348b5fc3a6efe13fd1dbe585b28addfa4344b3 (diff)
downloadQt-4a8c7e432931b27e7a5440a6d15bde999e962f35.zip
Qt-4a8c7e432931b27e7a5440a6d15bde999e962f35.tar.gz
Qt-4a8c7e432931b27e7a5440a6d15bde999e962f35.tar.bz2
Fix a crash where QCocoaWindow get events after its widget is dead
The invariant that QCocoaWindow's lifetime is contained in a QWidget is simply not true. A top-level QWidget gets associated with a QCocoaWindow (which is reference counted). However, it can be the case that we've destroyed our QWidget, the link is removed, the window is hidden, but the window still gets an event. In that case we would crash with an eventual null pointer access. However, we don't really need to do anything in this case, so just call super and return. Task-number: 253402 Reviewed-by: Morten Sørvig
Diffstat (limited to 'tools/qdoc3/plaincodemarker.h')
0 files changed, 0 insertions, 0 deletions