aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypeloader_p.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-04-18 11:52:48 +0200
committerTim Jenssen <tim.jenssen@theqtcompany.com>2016-04-18 18:22:00 +0000
commitcf28f909da1145b8f4fbb92a3bf8353d5f397f97 (patch)
treecc67ac54c2f8c5dc35f13d694f0e86af8c01041b /src/qml/qml/qqmltypeloader_p.h
parent35e2f29cde8dc8280b5ce1986533fca63f902d5e (diff)
QQmlDesignerMetaObject: Fixing reference counting
We have to overwrite the cache of QQmlInterceptorMetaObject, but we messed up the reference counting. The same applies for QQmlData. When overwriting the old cache we have to call release on the old cache and increase the reference count on the new cache, because it is released in the destructors of QmlData and QQmlInterceptorMetaObject. Change-Id: Iecdbe8d474092906344d4e5a74278f5d8120b5ef Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmltypeloader_p.h')
0 files changed, 0 insertions, 0 deletions