diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-11-02 15:53:02 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-11-19 08:25:32 +0000 |
commit | 3e9b752bf4114b2b06e2f8f65aad67606dfc0215 (patch) | |
tree | c5ab9351ad3bce5e66ce9429948dd00a1986dd01 /src/qml/compiler | |
parent | 75937c9da7910ce41b4b3207d66d844ed9624df8 (diff) |
QML: Use all available type information to find enum types
Using the metatype system we can identify most enumeration types
statically, without lookup by name. Only if we get UnknownType we have
to do a name based lookup. As the name based lookup only checks enums
that either belong to the global Qt namespace or the surrounding class,
the type based lookup gives better results.
Task-number: QTBUG-58454
Change-Id: Id6bd748f37838249defb4c5b2a7628eadc1a8341
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler')
0 files changed, 0 insertions, 0 deletions