diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2022-04-26 09:20:50 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2022-04-26 13:49:30 +0000 |
commit | bf760f761af0da2bb3808b0f94f168a9822a1bfa (patch) | |
tree | e75bbfed3bb69d43f9b4e9fb19a504bb2dfe8527 | |
parent | da16d778d57e16d15d6445509543994ce7f65bc1 (diff) |
QmlJsCheck: Add more ids to negative lists
Since those are QML keywords those ids can create
all kind of unexpected side effects.
Change-Id: I9ecb9b0559c57d59104aacedfca505b559de9685
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
(cherry picked from commit 5e75673dde7b5d2384c4180b38681c16f58f67eb)
-rw-r--r-- | src/libs/qmljs/qmljscheck.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljscheck.cpp b/src/libs/qmljs/qmljscheck.cpp index a0ce17eac0..d7f96f92a4 100644 --- a/src/libs/qmljs/qmljscheck.cpp +++ b/src/libs/qmljs/qmljscheck.cpp @@ -571,7 +571,9 @@ public: "color", "margin", "padding", "print", "border", "font", "text", "source", "state", "visible", "focus", "data", "clip", "layer", "scale", "enabled", "anchors", - "texture", "shaderInfo", "sprite", "spriteSequence", "baseState"}) + "texture", "shaderInfo", "sprite", "spriteSequence", "baseState" + "vector", "string", "url", "var", "point", "date", "size", "list", + "enumeration"}) {} }; |