summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfsfileengine_win.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-03-15 09:51:42 -0700
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-03-16 21:41:52 +0000
commit99adabdb7ecdded792961392cec6b68e625bf6e2 (patch)
treee0dc86b648bceb91eb0369650519b985829f99c4 /src/corelib/io/qfsfileengine_win.cpp
parent3e0355014edda23d94605c77dd8c1582b91f9c18 (diff)
QNSView: Harden logic around platform window access
Some users have reported crashes in -[QNSView mouseEnteredImpl:] which we believe are due to null m_platformWindow. The stack traces are like the one below or similar: 0 libqcocoa_dylib QNSView mouseEnteredImpl_ 0x1F 1 appkit NSTrackingArea _dispatchMouseEntered_ 0xA2 2 appkit NSApplication sendEvent_ 0xF4D 3 libqcocoa_dylib QNSApplication sendEvent_ 0x4E 4 libqcocoa_dylib QCocoaEventDispatcher processEvents 0x184 5 qtcore QEventLoop exec 0x19C 6 qtwidgets QDialog exec 0x20B Moreover, since 2f505b79a49bdf5ba8d084e13ab339bcf956c849, that member is a QPointer, so we should do more systematic checks. Change-Id: Iced447515a4ae07a62734e587f5b08d46d313071 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/io/qfsfileengine_win.cpp')
0 files changed, 0 insertions, 0 deletions