summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Log.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-17 14:06:06 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-17 22:56:08 -0700
commit9db886b8c897788ecaa94ca238b77c0e5d478fac (patch)
treebfb9eea8db2f7a4b2b7ae101996449e268b576fd /mobile-widgets/qml/Log.qml
parentb45340389b696d83809343ac6cf4550b729d0f9d (diff)
downloadsubsurface-9db886b8c897788ecaa94ca238b77c0e5d478fac.tar.gz
QML UI: explicitly reference parent id
Otherwise we get an odd 'TypeError: Cannot read property of null' error message. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/Log.qml')
-rw-r--r--mobile-widgets/qml/Log.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/Log.qml b/mobile-widgets/qml/Log.qml
index b7dbae50f..86082349a 100644
--- a/mobile-widgets/qml/Log.qml
+++ b/mobile-widgets/qml/Log.qml
@@ -28,7 +28,7 @@ Kirigami.ScrollablePage {
text: qsTr("Application Log")
}
delegate : Text {
- width: parent.width
+ width: logWindow.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
text : message
}