diff options
author | Sami Shalayel <[email protected]> | 2024-10-21 10:55:05 +0200 |
---|---|---|
committer | Sami Shalayel <[email protected]> | 2024-10-24 12:39:01 +0000 |
commit | 53ffb8f76dd9e4a2241f726fd251cb02b9fd8da6 (patch) | |
tree | f884d14b14c4772721bae7eae33a27b5c7ea03e1 /src/plugins/android/androidsdkmanager.cpp | |
parent | 3757d910cc1be3a040f6ee4db9ebf6721e90fdb0 (diff) |
qmljscheck: fix M129 warning on components with same name
Look in the imports up whether a component with the same name as the
current component was imported. In this case, this component shadows the
current component and can be used in the file without recursively
instantiating anything.
Therefore, count the number of components with the same name as the
currently edited qml file that was imported in the current file and warn
if no other component with the same name was imported.
Fixes: QTCREATORBUG-31313
Change-Id: Id1e748dc0dcdbb514d9882cf79dfba959abacd15
Reviewed-by: Semih Yavuz <[email protected]>
Diffstat (limited to 'src/plugins/android/androidsdkmanager.cpp')
0 files changed, 0 insertions, 0 deletions