Merge PR #462: Fix invalid property access with Qt 5.15 in AppLogPage

This commit is contained in:
Jenkins nymea 2020-11-11 16:48:36 +01:00
commit 4dfaf6b794

View File

@ -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