tst_QSvgHandler: port away from QPair


Since this requires to re-indent many lines, make a drive-by cleanup
to DRY the code using an alias S for the std::pair.

As a further drive-by, add missing = in initializer_list calls, add
training commas, and use push_back() instead of op<<. This allows to
easily switch to other containers (std::array, std::vector) later.

Amends 9b025a74b2eb18b71a5217479e5b7fc88d39cc94 (dev/6.12).

Task-number: QTBUG-115841
Change-Id: If3111a5264ada3d34450567c752225ee1bac1938
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commitd982cafc62ee920a036ec1845e13f6ef2e8d1c3e
parentfd3fe50abf00869025ad82ee388633a0d4eb12bb
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 20 Apr 2026 09:28:12 +0000