diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-12-16 17:03:33 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-03-05 02:35:56 +0100 |
| commit | 611031e4f069aea6a0312b5c459247094204d5eb (patch) | |
| tree | 419bcff5f376b2b2bb5a12ea5d4d7294096d3432 /src/corelib/kernel/qobject.cpp | |
| parent | 98653cca453fe3d88807d1a314ae17efadd7c958 (diff) | |
QDrawUtil: Cleanup qDrawPlainRoundedRect/qDrawPlainRect
Cleanup the drawing code to avoid useless drawings by only calling
drawRect once with the correct parameters. This also removes rendering
artifacts due to e.g. rounding errors with a dpr != 1.
Fixes: QTBUG-132187
Pick-to: 6.9 6.8
Change-Id: Ib5eff89c8bdcbd0c86954e78dadaad83346c92ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
