diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 14:07:53 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 14:34:32 -0600 |
commit | e56b4b24df2aec5b90595d40b1260c72f06ba2c0 (patch) | |
tree | 59c589c475707f0879e81a302aa8ac859e355b9c | |
parent | 699958ee8d39176da230fa6193cd7c91e08b5165 (diff) | |
download | kube-e56b4b24df2aec5b90595d40b1260c72f06ba2c0.tar.gz kube-e56b4b24df2aec5b90595d40b1260c72f06ba2c0.zip |
Avoid undefined warnings
-rw-r--r-- | framework/qml/EditAccount.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml index ad7c1f76..f4870225 100644 --- a/framework/qml/EditAccount.qml +++ b/framework/qml/EditAccount.qml | |||
@@ -40,7 +40,7 @@ Item { | |||
40 | 40 | ||
41 | Kube.Heading { | 41 | Kube.Heading { |
42 | id: heading | 42 | id: heading |
43 | text: loader.item.heading | 43 | text: loader.item ? loader.item.heading : "" |
44 | color: Kube.Colors.highlightColor | 44 | color: Kube.Colors.highlightColor |
45 | } | 45 | } |
46 | 46 | ||
@@ -53,7 +53,7 @@ Item { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | width: parent.width | 55 | width: parent.width |
56 | text: loader.item.subheadline | 56 | text: loader.item ? loader.item.subheadline : "" |
57 | color: Kube.Colors.disabledTextColor | 57 | color: Kube.Colors.disabledTextColor |
58 | wrapMode: Text.Wrap | 58 | wrapMode: Text.Wrap |
59 | } | 59 | } |