Use const-ref for QByteArray


This has a non-trivial copy constructor, so according to best
practices we should pass-by-reference.

Pick-to: 6.10
Change-Id: Ie0101a44074d2fc4250da98745bbe423f726f661
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit2a7ee97f889e622fdf928d4ecc2add0bb54e33b3
parent5fb59060fe36cee54651d0d4ac312a6db05ca548
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeThu, 19 Jun 2025 11:49:55 +0200