one more if(string) change
commit73734f2a23bfeb1ac93b52149cfd4a1800f3b1c4
authorMichael Zanetti <michael.zanetti@canonical.com>
dateThu 3 Jul 2014, 12:09 (12 years ago)
parent8654f99
qml/Components/PageHeader.qml+1−1
@@ -216,7 +216,7 @@ Item {
216216
217217 property var contents: null
218218 Component.onCompleted: {
219− if (root.imageSource.length > 0) {
219+ if (root.imageSource) {
220220 header.contents = imageComponent.createObject();
221221 }
222222 }