on xenial help sign in
change if (string) as per review suggestion
55d032fMichael Zanetti
qml/Components/PageHeader.qml+1−1
@@ -73,7 +73,7 @@ Item {
73 }
73 }
74
74
75 onImageSourceChanged: {
75 onImageSourceChanged: {
76− if (imageSource.length > 0) {
76+ if (imageSource) {
77 header.contents = imageComponent.createObject();
77 header.contents = imageComponent.createObject();
78 } else {
78 } else {
79 header.contents.destroy();
79 header.contents.destroy();