summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-07-07 15:23:20 +0200
committerAndy Shaw <andy.shaw@qt.io>2016-07-08 05:19:32 +0000
commitdeb2728a8677b275613668d1467b636ed1776282 (patch)
tree503adbf41f60ba128ac591451edbb1c308efd370 /src/corelib/tools
parent14c6f80f4b2d8275037ed1fc3c63870e7f21570a (diff)
[macOS] Check that the screen's index is still valid after updating
It is possible for a screen to be disconnected while it is doing an update of the available screens. Therefore before returning the pointer to the screen then it should be rechecked that the index is still within the range of available screens. Change-Id: Iaa08070e79a72cb309d8a24cea786a5dccf6b719 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions