aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-03-02 09:09:17 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2018-03-08 07:52:23 +0000
commit5e0c3a798ab0d70be45a107661fc5f0a17322a2a (patch)
treed81a27be09f1949132aae28e136ee89b4863bb01 /src/qml/compiler
parent416e3f080fa71249fd5be417d6abef5817f2197d (diff)
Fix calling Qt.createComponent() from QQmlEngine::evaluate()
If we're run from a top-level evaluate() call from the JS engine, then let's assume that any created components are top-level components that belong to the root QML engine context. This is not quite a typical use-case, but our API allows for this and this seems like an easy and sensible solution. Task-number: QTBUG-66792 Change-Id: Ic1c9171c257e8e60c0b2c43f9194bd038744ed2d Reviewed-by: Oleg Yadrov <oleg.yadrov@qt.io> Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/compiler')
0 files changed, 0 insertions, 0 deletions