diff options
author | Andy Shaw <andy.shaw@qt.io> | 2018-03-15 13:34:16 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-03-17 22:53:23 +0000 |
commit | dbbe77e19ca48b6bffe73e0e1a434afe322a22d8 (patch) | |
tree | 6a31f319eb86fca955628e40900463e8c4dae529 /.tag | |
parent | 24610724db7918150d07ee7037019ecabe65d160 (diff) |
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: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions