summaryrefslogtreecommitdiffstats
path: root/header.COMM
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-07-24 16:59:11 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2018-07-30 15:04:40 +0000
commita76a0afc1a23a54334070b08f8a4af5d1cc6676d (patch)
tree49db8c4ed65deed0ebaf8c0f1ada60f0b06d6460 /header.COMM
parentcb505bedde4940d927b593ecc3668789e9f1c0a0 (diff)
Reduce redundancy and duplication in tst_QFile::appendAndRead
Use one QStringLiteral instead of repeating a QLatin1String(), that was passed to a function that has to convert it to unicode; do the conversion at compile-time. Reducing i % 256 is fatuous when i ranges from 1 to 100. A QFile will close() itself on destruction, no need to do it explicitly. Especially when *not* close()ing the *other* QFile that was left open. Change-Id: Idb39312d9c9beaf082b7cead574bc6bb9bb3a775 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'header.COMM')
0 files changed, 0 insertions, 0 deletions