aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmljs
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2016-11-03 14:31:19 +0100
committerErik Verbruggen <erik.verbruggen@qt.io>2016-11-09 09:15:58 +0000
commitece0682712ec23b2a7fed68893db71a2cc0370a7 (patch)
tree892991f9c62b075c58a3af11f63246c7fdc93fa6 /tools/qmljs
parent2afee1c3f13a8dde2ad6d12e62c291e44fff262b (diff)
Quick: Hint that a reparent action will most probably work fine
When assigning an item a new parent item, a check is done if it is already part of the children tree below that parent. This is an unlikely case, so hint the compiler that it can optimize the loop that way. Change-Id: Ic9f1810aa4b83d84be88f0049e61d21c4add7767 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmljs')
0 files changed, 0 insertions, 0 deletions