summaryrefslogtreecommitdiffstats
path: root/framework/qml/TreeView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r--framework/qml/TreeView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml
index c73ffe7d..caef0146 100644
--- a/framework/qml/TreeView.qml
+++ b/framework/qml/TreeView.qml
@@ -162,7 +162,7 @@ FocusScope {
162 162
163 height: Kube.Units.gridUnit * 1.5 163 height: Kube.Units.gridUnit * 1.5
164 //FIXME This is the only way I could find to get the correct width. parent.width is way to wide 164 //FIXME This is the only way I could find to get the correct width. parent.width is way to wide
165 width: parent.parent.parent.width 165 width: parent.parent.parent ? parent.parent.parent.width : 0
166 color: Kube.Colors.textColor 166 color: Kube.Colors.textColor
167 167
168 Rectangle { 168 Rectangle {