diff options
author | James Perrett <james.perrett@tandberg.com> | 2010-07-08 13:06:15 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-07-08 13:06:15 (GMT) |
commit | 0bad059e4120b6e6c25427a19e3da942c1ff3151 (patch) | |
tree | e9eb8960a73473def5a246705c1d58a1b2db6e13 /src/imports/particles/qdeclarativeparticles_p.h | |
parent | 9b0ab2254f09d7c465e7f92cb2a41eddce83a84b (diff) | |
download | Qt-0bad059e4120b6e6c25427a19e3da942c1ff3151.zip Qt-0bad059e4120b6e6c25427a19e3da942c1ff3151.tar.gz Qt-0bad059e4120b6e6c25427a19e3da942c1ff3151.tar.bz2 |
Avoid static local QHash
Change formatDictionary() to return a QHash by-value rather than a
const reference to a static local QHash. This avoids memory being
permanently allocated on the heap for a dictionary that is only needed
during startup.
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/imports/particles/qdeclarativeparticles_p.h')
0 files changed, 0 insertions, 0 deletions