QSequentialAnimationGroupPrivate: replace an inefficient QList with QVector

ints are only half the size of void* on 64-bit, so
QVector<int> uses only 50% of per-element memory,
compared to a QList.

Change-Id: I18db97d2ec0e46ec4301e8939ac21dff558172b2
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
bb10
Marc Mutz 2015-06-13 20:36:20 +02:00
parent a89c62c17d
commit 4d7f528dde
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public:
// this is the actual duration of uncontrolled animations
// it helps seeking and even going forward
QList<int> actualDuration;
QVector<int> actualDuration;
void restart();
int lastLoop;