Storing a pointer was fine when used with the QBuffer version, but that means you have to keep the QBArray alive outside the class itself. Just store the value and it is a little easier to use. Changes in this cherry-pick: The dev patch chain has the test update in the wrong commit, so cherry-picked it along with this. And apparently I also forgot to commit a bug-fix to this commit as well, the bug anyway disappeared in dev when I deleted the class and redirected everything to the ByteArray class. Change-Id: Ic02e0b4627fde2b5fdd7e5fb69a94e06aa768ab9 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> (cherry picked from commit 67140afca21efae75aad35f63ca1d7211fe6ec3a) Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| tst_qhttpnetworkconnection.cpp | ||