Commit d8922924 authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

QtNetwork (examples) - update the second download manager example


It's the one that is more complex - with a text-based 'progress-bar'
and queueing (for some, probably educational, reason) of requests.

Changes:

- update the C++ syntax (mem-initializers, range for, etc.)
- new-style headers
- redirects should not result in creating an empty file.  Since we
  have no UI, and this example is already complex enough, settle
  for just reporting the redirect and removing the empty file.

Task-number: QTBUG-60628
Change-Id: I0b69cd77414ecac7c0bc6b2f8f787befc978de28
Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
parent 42d7bc4c
No related merge requests found
Showing with 71 additions and 41 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment