Fix invalid property access with Qt 5.15 in AppLogPage
This commit is contained in:
parent
8ce72bb9da
commit
8875e7aeb2
@ -46,13 +46,14 @@ Page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
id: listView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBar {}
|
ScrollBar.vertical: ScrollBar {}
|
||||||
|
|
||||||
model: AppLogController
|
model: AppLogController
|
||||||
delegate: Text {
|
delegate: Text {
|
||||||
width: parent.width
|
width: listView.width
|
||||||
maximumLineCount: 2
|
maximumLineCount: 2
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
text: model.text
|
text: model.text
|
||||||
|
|||||||
Reference in New Issue
Block a user