summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/dbusmenu
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-24 02:04:09 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-02-08 22:07:53 +0000
commitb30edc51535c389bdee9f676c4b5003d37242092 (patch)
tree50719f80ab971cf0da2eea2291a0589d9bde9b4a /src/platformsupport/dbusmenu
parent8a549506464d1356fe9ff63ac0c56ea85cd38e8b (diff)
QKeySequence: replace an inefficient QList with QVector
QShortcutEntry is larger than a void*, so holding it in QLists is needlessly inefficient. Worse, the code could come to depend on the fragile property of (inefficient) QLists that references to elements therein never are invalidated. Fix by marking it movable, and holding it in a QVector instead. Change-Id: I4ab3399a8036827631b7fbdfdc60b4206305e1c9 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/dbusmenu')
0 files changed, 0 insertions, 0 deletions