forked from qt-creator/qt-creator
QmlDesigner: Do not use Component in PathView source
The Component is not required (implicit component) and the Component item is not allowed in .ui.qml files. Change-Id: I705df5eb5b002f710ba87279083fa282e82639c8 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
9c5e92c714
commit
6c6fb10ab7
@@ -53,8 +53,7 @@ PathView {
|
|||||||
colorCode: "green"
|
colorCode: "green"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delegate: Component {
|
delegate: Column {
|
||||||
Column {
|
|
||||||
spacing: 5
|
spacing: 5
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 40
|
width: 40
|
||||||
@@ -69,6 +68,5 @@ PathView {
|
|||||||
font.bold: true
|
font.bold: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user