summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/dialogs/qfilesystemmodel
diff options
context:
space:
mode:
authorVitaly Fanaskov <vitaly.fanaskov@qt.io>2019-10-25 14:47:15 +0200
committerVitaly Fanaskov <vitaly.fanaskov@qt.io>2019-11-07 09:07:16 +0100
commited20f3209804d865804f9eb14c3fcfb4b7941140 (patch)
treec4ec52698a9bacc6580ebd5ffb3e9ea6c73fe40b /tests/auto/widgets/dialogs/qfilesystemmodel
parent75f791419c54311e1ebf14a0c1651192ab0349f1 (diff)
QHighDpiScaling: fix potential null pointer dereference
It's not guaranteed that QPlatformScreen::screen should always return a valid pointer. Furthermore, you can run into this situation with, for example, two screens setup. Task-number: QTBUG-53022 Change-Id: Ic23bb2c30b1245f98a793a44cc5e0b39f9afac4b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/widgets/dialogs/qfilesystemmodel')
0 files changed, 0 insertions, 0 deletions