Fix external property issues
commitddb2092d5e9e9c2a6fbb39b48db63b23dc114027
authorJosh Arenson <joshua.arenson@canonical.com>
dateFri 17 Jul 2015, 13:05 (11 years ago)
parentbcd09f8
qml/Greeter/LightDM.qml+2−1
@@ -28,8 +28,9 @@ Loader {
2828 property var infographic: d.valid ? loader.item.infographic : null
2929 property var users: d.valid ? loader.item.users : null
3030 property var userRoles: d.valid ? loader.item.userRoles : null
31+ property string shellMode: shell.mode ? shell.mode : ""
3132
32− source: shell.mode === "greeter" ?
33+ source: shellMode === "greeter" ?
3334 "./FullLightDMImpl.qml" : "./IntegratedLightDMImpl.qml"
3435
3536 QtObject {
qml/Wizard/Wizard.qml+1−1
@@ -32,7 +32,7 @@ Showable {
3232 // expected behavior of no emission on startup.
3333 readonly property bool active: loader.active
3434
35− property bool shellMode: shell == null ? true : shell.mode
35+ property string shellMode: shell.mode ? shell.mode : ""
3636
3737 hideAnimation: StandardAnimation { property: "opacity"; to: 0 }
3838