summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qaction_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-15 15:06:56 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-02-08 19:58:01 +0000
commitb034a14dc589fecbbb1e0c807690910303ca82a3 (patch)
tree6454c00734c013e859ff5760dc4e3b6db3456289 /src/widgets/kernel/qaction_p.h
parentf049546d95607a03059ad334087a00e1714876a8 (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/qaction_p.h')
-rw-r--r--src/widgets/kernel/qaction_p.h2
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