diff options
| author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2024-07-26 15:32:20 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-08-28 17:01:39 +0000 |
| commit | 7fb3a18282281023bd8e47e9dae79dbab3660848 (patch) | |
| tree | 3c10044122e47774aa3454f77f19eaed38062ce9 /src/sql/doc/snippets/sqldatabase | |
| parent | 4403b6561b91c7435186116265b6e59e81c7ce03 (diff) | |
QNetworkRequest::transferTimeout: saturate int return value
So the value is at least sufficiently large even if int could not
fully represent it.
From the API review.
[ChangeLog][QtNetwork][QNetworkRequest] The transferTimeout() function
now returns INT_MIN or INT_MAX when transferTimeoutAsDuration().count()
cannot be represented in an int.
Pick-to: 6.8
Change-Id: Ic37ad5bc19ea7da4041c989acd3b989923d48cef
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
