diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 10:11:38 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 11:08:29 -0600 |
commit | bc416d487a406df3ed4ec958816bd69d2a4a4071 (patch) | |
tree | 1bb9cd570b810691e7700ca060aa4733e07eb2dd /framework/qml/TreeView.qml | |
parent | e57b4eb261e178ed028ed9561b434a777fa549c1 (diff) | |
download | kube-bc416d487a406df3ed4ec958816bd69d2a4a4071.tar.gz kube-bc416d487a406df3ed4ec958816bd69d2a4a4071.zip |
Avoid lots of undefined warnings
Diffstat (limited to 'framework/qml/TreeView.qml')
-rw-r--r-- | framework/qml/TreeView.qml | 2 |
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 { |