Merge redundant code from parseExtendedAttributes()


...and improve the rest using newer high level functions
and by converting QStringView to QString later.

Fixes: QTBUG-136033
Change-Id: Icca7432499aad13265ea5ddb744bd7d2a51010a6
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit1338cd7aa54606e5eb19921d83dc8e7a5054784b
parent99f55a97eb1f15ee7706326ec5bbfe62d1cf1ac0
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeTue, 20 May 2025 12:37:25 +0200