diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-15 15:06:56 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-02-08 19:58:01 +0000 |
commit | b034a14dc589fecbbb1e0c807690910303ca82a3 (patch) | |
tree | 6454c00734c013e859ff5760dc4e3b6db3456289 /src/widgets/kernel | |
parent | f049546d95607a03059ad334087a00e1714876a8 (diff) |
Replace some QList<int> with QVector<int>
On 64-bit platforms, QVector<int> uses only 50% of QList<int>
per-element memory.
Change-Id: I3057781e7fb58007ea2619cc91965a626d01473b
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qaction_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qaction_p.h b/src/widgets/kernel/qaction_p.h index f43ab6c86e..84c6774141 100644 --- a/src/widgets/kernel/qaction_p.h +++ b/src/widgets/kernel/qaction_p.h @@ -91,7 +91,7 @@ public: QVariant userData; #ifndef QT_NO_SHORTCUT int shortcutId; - QList<int> alternateShortcutIds; + QVector<int> alternateShortcutIds; Qt::ShortcutContext shortcutContext; uint autorepeat : 1; #endif |