diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2024-07-17 15:45:27 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2024-07-30 17:06:42 +0200 |
| commit | 698110b42fccbb75943f5972cff415d1502f85cd (patch) | |
| tree | 657cb3e45889ab3376adf77c3186f4cba2685efa /src/qmlcompiler/qqmljsimportvisitor.cpp | |
| parent | ca7e11812779ad8edab58655aef6bdc3d6a23e25 (diff) | |
qmllint: use correct category type for unresolvable default properties
An unresolvable default property type is not a missing-property (which
is about using non-existing properties), but an unresolved-type.
This avoids having to write weird documentation about a missing-property
warning actually being an unresolved-type warning.
Pick-to: 6.7 6.8
Fixes: QTBUG-127309
Change-Id: I1dd35d9b8b5f2e625b789e118f0f614c9da648e2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsimportvisitor.cpp')
| -rw-r--r-- | src/qmlcompiler/qqmljsimportvisitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsimportvisitor.cpp b/src/qmlcompiler/qqmljsimportvisitor.cpp index 82b0c64648..2b4687da77 100644 --- a/src/qmlcompiler/qqmljsimportvisitor.cpp +++ b/src/qmlcompiler/qqmljsimportvisitor.cpp @@ -610,7 +610,7 @@ void QQmlJSImportVisitor::processDefaultProperties() "missing an import.") .arg(defaultPropertyName) .arg(defaultProp.typeName()), - qmlMissingProperty, it.value().constFirst()->sourceLocation()); + qmlUnresolvedType, it.value().constFirst()->sourceLocation()); }; if (propType.isNull()) { |
