diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-04-07 13:01:53 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-04-09 09:26:31 +0200 |
commit | 50b679a03cda1789c8a6c3b252551e5d143ce017 (patch) | |
tree | c148b8d298be380e4e2ba74ccb0738e34e8e1b81 /tools | |
parent | 0a07a6261263bb915c20539812146afd9005b64b (diff) |
When resolving property types, also update the property type names
Otherwise we end up with a mixture of QML and C++ names.
Task-number: QTBUG-92447
Change-Id: I94c44307d8dd762d11cfd8f178f33ab6a895ee83
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 4beba3a2b68a389c426791dd43c638f3539d8f20)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmllint/checkidentifiers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/checkidentifiers.cpp b/tools/qmllint/checkidentifiers.cpp index 8b8a184b7d..a3be58152c 100644 --- a/tools/qmllint/checkidentifiers.cpp +++ b/tools/qmllint/checkidentifiers.cpp @@ -61,7 +61,7 @@ static const QStringList unknownBuiltins = { QStringLiteral("QRectF"), // TODO: should be added to builtins.qmltypes QStringLiteral("QFont"), // TODO: should be added to builtins.qmltypes QStringLiteral("QJSValue"), // We cannot say anything intelligent about untyped JS values. - QStringLiteral("variant"), // Same for generic variants + QStringLiteral("QVariant"), // Same for generic variants }; void CheckIdentifiers::printContext( |