qtbase/examples/corelib
Marc Mutz 4fe9b799ba 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.

Task-number: QTBUG-108857
Change-Id: I811447295c9c3fdef23f61aff31ebe82941eb3b4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 6f1e53943d)
2023-05-11 15:31:44 +02:00
..
bindableproperties Update the bindable properties example 2023-03-09 20:43:54 +00:00
ipc Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 17:41:02 +00:00
mimetypes Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 17:41:02 +00:00
platform Android-example: add missing properties in AndroidManifest.xml 2023-04-26 14:17:55 +00:00
serialization savegame ex.: revamp the way print() works 2023-05-11 15:31:44 +02:00
threads Doc: Fix broken link 2023-01-02 14:21:06 +00:00
tools Use QDebugStateSaver in example operator<<() 2022-03-16 17:30:47 +00:00
CMakeLists.txt examples: fix configuring with -no-feature-widgets 2022-10-29 02:22:50 +00:00
corelib.pro Move notification example from androidextras to qtbase 2021-06-04 22:21:12 +03:00