summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinterinfo.h
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2019-08-19 15:04:42 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-08-19 15:07:47 +0000
commitfc049052812bfa0b63af1f3c5fcadf1eb582e775 (patch)
treeea806a414f24eda54aa5ca503c60312594fa668b /src/printsupport/kernel/qprinterinfo.h
parent70e7445dbeba9bd24de963e7e431c4698b6b4569 (diff)
macOS: Bail out early in case a popup is closed by a mouseDown
It can happen that AppKit calls -mouseDown: on a popup's view, but we consider the click to be outside of popup's area (happens on the 1-pixel edge of a 'geometry', QRect::contains() returns false). If we send close event to essentially 'self', m_platformWindow is becoming nullptr. So we bail out early, no further processing is needed. Fixes: QTBUG-77348 Change-Id: I224943e6bcf4ae052412ef7dc7b23a94f999aa19 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/printsupport/kernel/qprinterinfo.h')
0 files changed, 0 insertions, 0 deletions