diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-06-10 10:12:29 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-06-11 07:19:00 +0200 |
| commit | dee140a79a3c87184abbe7d7edac4533b137ca16 (patch) | |
| tree | 755195b90f0f4f7f44aab84f3d17751380f16e2b /src/opengl/qopenglframebufferobject.cpp | |
| parent | 60f83a76756342de66d0d97353e8392083deae3a (diff) | |
Windows: Fix registry string read failures
On Windows 7, it has been observed that the time zone registry key
is a string of size 256 padded with 0. Use QString::fromWCharArray(),
relying on 0-termination to cope with it.
Pick-to: 5.15
Fixes: QTBUG-84455
Change-Id: I5d242e2de73c1ea09344aee8de8eea941bc52bab
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/opengl/qopenglframebufferobject.cpp')
0 files changed, 0 insertions, 0 deletions
