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>