summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Gottfried <sebastiangottfried@web.de>2015-07-10 09:42:03 (GMT)
committerSebastian Gottfried <sebastiangottfried@web.de>2015-07-10 09:42:03 (GMT)
commit9345e9d58aa55f1692c365b1a4a8d063ca17a110 (patch)
tree214f74f38c1a5ddcf5f66003c7843dcbaf889af2
parent9f1bbc100e8ae59a76efed9927a5299b3649f085 (diff)
Fix MessageBox Icon
QIconItem has lost its valid attribute, so we can't use it anymore to check if the icon should be visible.
-rw-r--r--src/qml/MessageBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/MessageBox.qml b/src/qml/MessageBox.qml
index 29ba948..b3021aa 100644
--- a/src/qml/MessageBox.qml
+++ b/src/qml/MessageBox.qml
@@ -66,7 +66,7 @@ Rectangle {
QIconItem {
id: icon
width: height
- height: valid? label.height: 0
+ height: icon? label.height: 0
}
Label {