diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-03-26 10:28:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2024-04-18 15:25:22 +0200 |
commit | 01ee796b96246a1ba518036fb10a25fea507a4fe (patch) | |
tree | cb5aad5e2d70b887f3d55520394528da415236e4 /examples/painting/imagecomposition/imagecomposer.h | |
parent | 447a82ebe4ff494b175ed574fd2d07492873e691 (diff) |
QColorVector: make the (QPointF) ctor a named one
Instead of an explicit ctor, make conversion from QPointF an
explicitly-named ctor.
This prepares the class for being converted to a pure struct,
alleviating its use in arrays without the additional QUninitialized
kludge that Coverity doesn't seem to understand.
Amends 78a7e54f8f5c4ca6ce1ee6b0ac82c42b21738ac5.
As a drive-by, take the QPointF by value, fixing
clazy-function-args-by-value.
Coverity-Id: 444249
Coverity-Id: 425860
Change-Id: I925e94b21bf041a6fb03c56ef9a2da85d8285982
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples/painting/imagecomposition/imagecomposer.h')
0 files changed, 0 insertions, 0 deletions