diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-07-29 21:38:26 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-07-31 22:07:18 +0200 |
| commit | d042c14c9940c6aabaa5b39d3061c0f9e50fff06 (patch) | |
| tree | fd6e1332a4f462d2f2bd3d1c733b78199d1fb184 /src/plugins/platforms/android/qandroidplatformiconengine.cpp | |
| parent | fd8cec34965afc8ca6d7f5e844e8aab44e182c90 (diff) | |
QtTest: port approx_wide_len() from std::clamp() to qt_saturate()
The patch that originally added the function used std::clamp() because
qt_saturate() wasn't available in all the branches to which the patch
was backported. This patch modernizes the code for newer branches.
Pick-to: 6.8 6.7 6.5
Change-Id: I1b764d303e00ec04858643efed3dcc71f2c7ce4c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformiconengine.cpp')
0 files changed, 0 insertions, 0 deletions
