Skip to content
Snippets Groups Projects
Commit 1d4cd9b7 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Remove the strict separation of types and attached types.

The problem was that several lookup calls suddenly failed because
the actual QML types were no longer in the default scope chain. However,
the QML documentation says the type names are in the scope.

Also, 'MyComponent.' in a JS-expression context only showed the attached
properties of MyComponent and missed the enums.

With this change completion now may offers too many options, but that's
better than missing some.

This reverts parts of 490f2797

Reviewed-by: Leandro Melo
parent 9232b3d5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment