forked from qt-creator/qt-creator
QmlDesigner: Add more ids to discouraged ids
These ids match type names and likely collide with properties. Change-Id: I1ca9db9f11698c5e6e459e3569c75c3f66ca2777 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
83a68d04ae
commit
8dbc5475c6
@@ -116,6 +116,8 @@ constexpr auto qmlDiscouragedIds = toSortedArray<std::u16string_view>(u"action",
|
||||
u"baseState",
|
||||
u"border",
|
||||
u"bottom",
|
||||
u"button",
|
||||
u"checkbox",
|
||||
u"clip",
|
||||
u"data",
|
||||
u"enabled",
|
||||
@@ -128,9 +130,11 @@ constexpr auto qmlDiscouragedIds = toSortedArray<std::u16string_view>(u"action",
|
||||
u"layer",
|
||||
u"left",
|
||||
u"margin",
|
||||
u"mouseArea",
|
||||
u"opacity",
|
||||
u"padding",
|
||||
u"parent",
|
||||
u"rectangle",
|
||||
u"right",
|
||||
u"scale",
|
||||
u"shaderInfo",
|
||||
@@ -139,7 +143,10 @@ constexpr auto qmlDiscouragedIds = toSortedArray<std::u16string_view>(u"action",
|
||||
u"spriteSequence",
|
||||
u"state",
|
||||
u"stateGroup",
|
||||
u"switch",
|
||||
u"text",
|
||||
u"textedit",
|
||||
u"textinput",
|
||||
u"texture",
|
||||
u"time",
|
||||
u"top",
|
||||
|
Reference in New Issue
Block a user