diff options
author | Christian Ehrlicher <[email protected]> | 2025-06-18 21:24:21 +0200 |
---|---|---|
committer | Christian Ehrlicher <[email protected]> | 2025-06-21 15:52:04 +0200 |
commit | e97a1fdad3d2d294ad9bf2e2bcc5f818d9050910 (patch) | |
tree | 15bb1aa6721a688e6f2c41a8279d4e9f8c90d8af /examples/sql/sqlwidgetmapper/main.cpp | |
parent | c0d8ed882fe09dd0e52a5847b45a6e2fc3a7fb87 (diff) |
Avoid QPainter::brushOrigin() since it returns a QPoint instead QPointF
so it might loose precision. Use QPainterStateGuard instead to make
sure the correct QPainter state is restored later on.
Pick-to: 6.10
Task-number: QTBUG-137885
Change-Id: I3f49c72c0425e22ffb1246b42d926e704dc9d8dd
Reviewed-by: Eirik Aavitsland <[email protected]>
Diffstat (limited to 'examples/sql/sqlwidgetmapper/main.cpp')
0 files changed, 0 insertions, 0 deletions