Reset more state in debug visualizer
Running Gallery with QCPAINTER_DEBUG_RENDER=1 shows that in
some items the drawing affects the statistics overlay, which is
not great. reset() things properly to avoid this.
Pick-to: 6.11
Change-Id: Ie4bf7e558a495866000f56fb0e8e0e06e4cd023a
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | 9511d017b658dfc6708823e44f6b552bd1f998ef |
| parent | c2e1df3f942ef19d520c6f1e11f31cd15cec11a1 |
| author | Laszlo Agocs <laszlo.agocs@qt.io> |
| committer | Laszlo Agocs <laszlo.agocs@qt.io> |
| commit time | Tue, 3 Feb 2026 13:05:30 +0100 |