diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-08-15 15:25:03 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-07-13 10:36:49 +0000 |
commit | cf0ddf24c02faf3de20fb4821cb9aed7915501d3 (patch) | |
tree | 0f64bd6e1bd5a4061e3721823efc42487fdbba07 /src/gui/image | |
parent | 4d7f528dde58d05b403037ffdd660b3e55601d62 (diff) |
QKeySequence: replace an inefficient QList with QVector
QModifKeyName is larger than a pointer, so holding it
in a QList is horribly inefficient.
Fix by marking it movable and using QVector instead.
The logic for filling the lists-turned-vectors is a bit
fishy in that it is not thread-safe. Maybe it doesn't
have to, it's not marked as \reentrant.
Change-Id: I8421e6d8b980eff022badfe3c61b3537783b5cfa
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions