diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-02-23 11:58:51 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-05-09 08:21:10 +0200 |
| commit | 6f1e53943d463978d2a3ae226fdeea78b06df34c (patch) | |
| tree | 049ef35b837f835842bd0d143e9e2267d070ac30 /examples/opengl/doc/src | |
| parent | 7b7a01c266b507636eab51a36328c7c72d82d93c (diff) | |
savegame ex.: revamp the way print() works
Basically, instead of re-creating QTextStreams all the time, create it
once, in main(), and then pass it to print() alongside the int
indentation.
Also fix a hard-coded indentation value that should have been relative
to the caller's indentation level.
Pick-to: 6.5 6.2
Task-number: QTBUG-108857
Change-Id: I811447295c9c3fdef23f61aff31ebe82941eb3b4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/opengl/doc/src')
0 files changed, 0 insertions, 0 deletions
