diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2024-04-09 17:57:29 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-04-26 16:19:36 +0000 |
| commit | eccaf0abec8e1e9c055d409575e5a6c894879a06 (patch) | |
| tree | 4bf91424612ec16ee7ee9de58636360c55ad353e /src/testlib/removed_api.cpp | |
| parent | 02174b9680339c08937ea50c743abcdfbe40e3d1 (diff) | |
QColorTransferTable: de-duplicate inverse lookup code
As a drive-by, drop the unnecessary floor() and just truncate. These
operations are the same for positive numbers, and by the time we reach
the code, we have already checked and dealt with negative numbers.
Change-Id: I3e99438f11e3a6c7862b8592b7bb4ddda1b33666
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/testlib/removed_api.cpp')
0 files changed, 0 insertions, 0 deletions
