diff options
| author | Michael Weghorn <[email protected]> | 2025-11-03 11:39:48 +0100 |
|---|---|---|
| committer | Michael Weghorn <[email protected]> | 2025-12-11 01:21:56 +0100 |
| commit | 952684f09f4579b9660b94c3a8a489efc41d3cb7 (patch) | |
| tree | f45e7c8e0495b83232474de93b92c9c8d5b4fc0e /src/plugins/platforms/wasm/qwasmdrag.cpp | |
| parent | aa85b050fe673869920382aa015ed66b99cfa51d (diff) | |
Don't allocate QColorLuminancePicker::pix on the heap
There's no reason to use a pointer for
this pixmap and allocate it on the heap.
Make use of the fact that a QPixmap can be a null
pixmap to indicate/detect the case when no actual pixmap
data are currently set.
Change-Id: Ibebacfdd5ee7e8d0563197b052dde88aa8ea8c7f
Reviewed-by: Richard Moe Gustavsen <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmdrag.cpp')
0 files changed, 0 insertions, 0 deletions
