samegame: fix qmllint warnings on missing property


Item always contains a PrimaryPack, so add a cast to access the
PrimaryPack's properties.

Unblocks the submodule update

Pick-to: 6.12 6.11
Fixes: QTBUG-150260
Change-Id: Ica7e06ac3a580d6ec0823bafc21514b30641ab7d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commit69aff8a0aa21d2794084179c294f9fe255925ed6
parent793d1414ea803e4e4f2e9a9a7e6a5d9fdb3f9378
authorSami Shalayel <sami.shalayel@qt.io>
committerSami Shalayel <sami.shalayel@qt.io>
commit timeFri, 11 Sep 2026 12:26:52 +0000