forked from qt-creator/qt-creator
QmlDesigner: Fix ambiguous ids in plugin testproject
Change-Id: I05b077f52d643703d0714df99968eb05dfd07dc2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
c7e6054601
commit
800a932e19
@@ -29,10 +29,10 @@ Rectangle {
|
||||
width: 60
|
||||
height: 60
|
||||
color: "green"
|
||||
property alias text: text.text
|
||||
property alias text: textItem.text
|
||||
|
||||
Text {
|
||||
id: text
|
||||
id: textItem
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
import QtQuick 2.0
|
||||
|
||||
Item {
|
||||
property alias text: text.text
|
||||
property alias text: textItem.text
|
||||
property alias color: rect.color
|
||||
property alias radius: rect.radius
|
||||
|
||||
@@ -36,7 +36,7 @@ Item {
|
||||
color: "green"
|
||||
|
||||
Text {
|
||||
id: text
|
||||
id: textItem
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user