Remove duplicate objects and clean syntax
commit098eea5e675e90d1945dff51495b5c8f11c93969
authorJosh Arenson <joshua.arenson@canonical.com>
dateWed 16 Sep 2015, 10:49 (11 years ago)
parentee2f4bd
qml/Greeter/Greeter.qml+1−6
@@ -54,7 +54,7 @@ Showable {
5454
5555 readonly property bool animating: loader.item ? loader.item.animating : false
5656
57− property bool fullLightDM
57+ property LightDM lightDM
5858
5959 signal tease()
6060 signal sessionStarted()
@@ -108,11 +108,6 @@ Showable {
108108 return d.startUnlock(true /* toTheRight */);
109109 }
110110
111− LightDM{
112− id:lightDM
113− fullLightDM: root.fullLightDM
114− }
115−
116111 QtObject {
117112 id: d
118113
qml/Shell.qml+1−2
@@ -681,8 +681,7 @@ Item {
681681 shutdownFadeOutRectangle.visible = true;
682682 shutdownFadeOut.start();
683683 }
684− fullLightDM: shell.mode === "greeter"
685− lightDM: lightDM
684+ lightDM: shell.lightDM
686685 }
687686
688687 Connections {