aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-11-20 11:03:46 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-11-22 08:51:59 +0000
commit9926a4a49e8211a996667b467fd98b915e9f9d34 (patch)
treed514b131de6da988bc39c40753d2298b0cdccb09 /tools
parent33c13efd91954fb50019e82f3ab8e8e1d8458332 (diff)
V4: Avoid copying WeakValues with wrapped QObjects
Such WeakValues are kept alive until the respective QObject is deleted. Therefore they are quite expensive. In this case we don't actually need a copy as on retrieval we only want a ReturnValue and on inserting we just want to replace the value in the map. Fixes: QTBUG-71817 Change-Id: I385c55140337d468289046243941077ba1ff61a3 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions