diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-20 15:55:34 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-23 08:59:38 +0000 |
commit | 16067fd85c720ad531f88e08a68eddd6222770f7 (patch) | |
tree | fa6206ea549eef20335fe85b9d91c90aae3b3f38 /examples/qml | |
parent | 7f7e2b0c9cc8e6d4f4eb18be8e5cc4053a0d4b11 (diff) |
Remove dependency of QQmlDesignerMetaObject to QQmlVMEMetaData
The constructor will use "fake" VME meta data if the provided QObject has a VME
meta object - that is the behavior of the vMEMetaDataForObject(object) call.
The QQmlVMEMetaObject constructor will set hasVMEMetaObject to true
unconditionally. By detecting the use of the fake meta data we can restore the
hasVMEMetaObject flag to what it was before. As I would like to remove the VME
meta-data, this patch removes the dependency to the meta data as a way of
detecting the situation where we have to restore the hasVMEMetaObject flag.
Instead this is done explicitly in the factor method that calls the constructor.
Change-Id: I9c5cbfbd8fb41ca65c597669ee04c1c5694dee2a
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'examples/qml')
0 files changed, 0 insertions, 0 deletions