QScxmlEventConnection: replace a QList with QVLA
... to hold QMetaObject::Connection objects.
Prepares for a world in which Connection is a move-only type (which it
may be optionally, for performance improvements).
Use QVLA instead of std::vector to minimize the changes to other code
(which uses append() etc; QVLA is the only Qt container that can deal
with move-only types). Pick a "random" Prealloc value of four, since
the default of 256 is way too large.
Amends 2f2e31fea77aef558e5c6e3727f9b31cf018599a.
Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-145019
Change-Id: I303836789de167b580b5bfd81990225500496ea8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>