QQuick3DParticleSpriteParticle: port m_connections from QHash to std::array


The QHash was only ever filled with the same three connections, and
the QHash key was never read after insert().

Replace the QHash with a std::array, and the insert()s with a
mass-move, to statically assert that the size of the std::array and
the number of connections are the same.

This matches how other classes manage their connections.

As a drive-by, remove unneeded cruft from the connect() calls:
- QObject:: scope in a QObject subclass
- empty () on lambdas
- lambda use when a PMF can be used directly

Amends 01ee811f87fc8e396de2032f3419d6a3581694e4 (6.1).

Pick-to: 6.12 6.11 6.8
Change-Id: I000bcd6cdcb458a81c0b2b276d6f15f4897f2858
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commit29c21f18c6e22dc1aabf873dc9e4bc23911ce568
parent45ba1710d44ab6018beda75e95ec1366eb744186
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 24 Aug 2026 12:41:42 +0000