diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-11-25 16:50:53 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-11-26 06:13:24 +0100 |
| commit | 226e258dcbc683696927dc7a7f4c10a51421e3f9 (patch) | |
| tree | 3257a3f305fe5ad21c2694cc244cd42e35ce1a75 /tests/manual/wasm/rasterwindow/rasterwindow.h | |
| parent | d19cea399e3305b1271f1571a494467ca4413bc6 (diff) | |
Coverity complained that the assignment of ownedIccProfile to
d->iccProfile was a copy when it could have been a move.
It's correct, so add the move(), after marking the to-be-moved-from
variable as non-const.
As a drive-by, replace unwarranted direct-initialization (the
QByteArray copy constructor isn't explicit) with more readable
copy-initialization.
Amends fc5208abc1deef1b6e206a2f6452bc6240dac195.
Pick-to: 6.10 6.8
Task-number: QTBUG-141942
Coverity-Id: 897407
Change-Id: I43e0baa2e37e1140ba51fede48bc1ee3f4b29537
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/manual/wasm/rasterwindow/rasterwindow.h')
0 files changed, 0 insertions, 0 deletions
