diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-09-20 06:57:54 -0500 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-09-25 22:14:10 +0000 |
commit | e3e28915c300cef0e997345e1bd74610fc70287f (patch) | |
tree | d47068dc846ae3248ba1c71977b6a8b0b9562592 /tests/auto | |
parent | 7e1a0c07390ed18de074ce5450b272838a3b8ac8 (diff) |
Fix erroneous use of errno with qErrnoWarning
On Windows, the error code to be used with qErrnoWarning is not errno,
but Windows's GetLastError(). Obviously, right?
So don't pass errno to it, just let it get the error message straight
from qt_error_string(), which will use GetLastError().
Change-Id: I44e7d800c68141bdaae0fffd155619c93e3f3dab
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions