summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-07-05 14:27:34 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-07-07 19:36:49 +0200
commitf1d40ca5e9b635e565bcaba5fb2a95f065478b51 (patch)
treed2ddb312b9bdeee71dae6a02165ca2b418f2e593 /examples
parent1cabfd168048b6b76b406015cc5a5c28e8f38cf0 (diff)
Unify and clean up two identical tst_qfile::*_data() functions
Convert newRow() to addRow() to simplify formatting, use a ranged-for iteration, take out a common factor of 1024, use QByteArray instead of roundtripping ASCII via Unicode, and break some long lines. Change-Id: I052730a71fb74f40a0dbd0695dcc286bc39896fb Reviewed-by: Jason McDonald <macadder1@gmail.com> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions