diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-19 08:28:14 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-19 08:34:01 +0200 |
| commit | 6d61b10f65cd276e009a02cec563cc469245e1f2 (patch) | |
| tree | d04fbfd17a3cdca95b0abf9825eab2cd64858b6f /src/gui/doc/snippets/textdocumentendsnippet.cpp | |
| parent | a3e69954f57a513b8bfa0a0865753fa6449fe15b (diff) | |
High DPI: Fix crash in QWindow::mapFromGlobal()
With Web Engine, QQuickWidget or similar, the code can hit on the offscreen
window, when its handle is null. Add a check.
Amends 3af7b279177f7fb092f0e0fb9ffc8e8d846ed774.
Fixes: QTBUG-76440
Change-Id: I123633d18386efd3dbfb22aad6072e4f0877a62e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocumentendsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
