diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-03-02 12:30:54 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-03-16 11:50:51 +0100 |
| commit | eefaf54d9e4d77c2e67a3926c7e5080b376f7067 (patch) | |
| tree | da004a28bea2083afbc59cf19bc6476b27c9ea91 /src/gui/doc/snippets/textdocument-texttable/main.cpp | |
| parent | 17bf553b76ebd688e58e4de4271407e2058d89ef (diff) | |
Use QFile directly instead of via QTextStream
Follows up on a TODO comment that says QTextStream is less efficient.
In any case, QFile has readLine() returning QByteArray, without
conversion to QString, and the parsing is uncomplicated.
Change-Id: I06e563df417692d3b6514a52a313a0ff55b0b52e
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-texttable/main.cpp')
0 files changed, 0 insertions, 0 deletions
