summaryrefslogtreecommitdiff
path: root/tests/auto/corelib/tools/containerapisymmetry/tst_containerapisymmetry.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2023-05-05 11:16:12 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2023-05-16 20:09:38 +0200
commitd75e772e2252a37c55ada3d84a301d3d296c1d02 (patch)
tree51cf4937ef614127df9bc5ddbe1d78446fe4e0c6 /tests/auto/corelib/tools/containerapisymmetry/tst_containerapisymmetry.cpp
parent0c5135a9dfa6140d23d86b001c3054891c22dcb9 (diff)
downloadqtbase-d75e772e2252a37c55ada3d84a301d3d296c1d02.tar.gz
RSS listing example: prefer setDevice() over addData(readAll())
The network reply is a QIODevice, so the QXmlStreamReader can be set to read from it directly, which it might potentially do incrementally, rather than by reading all the data in one go. In the process, change the set-up of the reply to first check that it got a valid URL, then check it got a reply, before doing things with that reply. Pick-to: 6.5 Task-number: QTBUG-111228 Change-Id: I3642e24e0d10721e4a0325b35a94dcb5dfbcd4e6 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/containerapisymmetry/tst_containerapisymmetry.cpp')
0 files changed, 0 insertions, 0 deletions