diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-03 13:44:24 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-03 13:24:14 +0000 |
commit | bfa87b7bd8f8fb94889fd99ee413e69bc17f9e81 (patch) | |
tree | 8adfbd2e25c06480be7e25c5b62d1f8fe6bd84d7 /src/qml/jsapi/qjsvalue.h | |
parent | 8ea3763a22d4ae114eee0063ef1c3ce31ac1b44d (diff) |
Clean up property cache reference counting in QQmlVMEMetaObject
When the intercepting functionality of the VME meta-object was split into the
QQmlInterceptorMetaObject the property cache was moved as a member but the
manual refcounting remained in the QQmlVMEMetaObject constructor and
destructor. That's fragile and potential future sub-classes of the interceptor
would have to do the same refcounting. Instead let's just store a QQmlRefPointer
in the right place.
Similar logic applies to the QQmlDesignerMetaObject, which had a copy of the
property cache for now aparent reason.
Change-Id: I7f6d3917fc5ef1c4beb065525be10bb9c0fadcf3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsapi/qjsvalue.h')
0 files changed, 0 insertions, 0 deletions