summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/dbustray/qdbustraytypes_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-07-05 22:43:08 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-07-19 18:13:20 +0000
commit9d250d7be8b1799b4f3602bb69cb96aa398eaf38 (patch)
treee3b17d442241af692b30f598f75a1ddf0301b91d /src/platformsupport/dbustray/qdbustraytypes_p.h
parent4ea3c0ba80e55e93ed0e03650325a046a676f73d (diff)
platformsupport/dbusmenu: fix uses of inefficient QLists
These types are larger than a void*, so holding them 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 them movable, and holding in a QVector instead. Change-Id: I74b2ce327d6aee60e2cc3463ce09453a4305bba7 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/dbustray/qdbustraytypes_p.h')
0 files changed, 0 insertions, 0 deletions