qtbase/examples/corelib/serialization
Marc Mutz 6f1e53943d 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>
2023-05-09 08:21:10 +02:00
..
cbordump Replace runic XSLT with a python script and tidy cbordump code 2023-05-02 17:03:26 +02:00
convert Examples: Fix CMake Unity (Jumbo) builds 2023-02-01 19:12:36 +01:00
rsslisting Move rsslisting example into corelibe/serialization 2023-03-21 14:49:09 +01:00
savegame savegame ex.: revamp the way print() works 2023-05-09 08:21:10 +02:00
streambookmarks Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00
CMakeLists.txt Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00
serialization.pro Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00