Commit dbbe77e1 authored by Andy Shaw's avatar Andy Shaw Committed by Allan Sandfeld Jensen
Browse files

Avoid crash when there is no QScreen attached to the QWindow


Since QWindow::screen() can return 0 we need to account for this instead
of assuming that it will always be valid.

Task-number: QTBUG-65857
Change-Id: Ifb3a9fdecc76c5c930282101bf383802bf2f2464
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent 24610724
Showing with 2 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment