on xenial help sign in
Remove duplicate objects and clean syntax
098eea5Josh Arenson
qml/Greeter/Greeter.qml+1−6
@@ -54,7 +54,7 @@ Showable {
54
54
55 readonly property bool animating: loader.item ? loader.item.animating : false
55 readonly property bool animating: loader.item ? loader.item.animating : false
56
56
57− property bool fullLightDM
57+ property LightDM lightDM
58
58
59 signal tease()
59 signal tease()
60 signal sessionStarted()
60 signal sessionStarted()
@@ -108,11 +108,6 @@ Showable {
108 return d.startUnlock(true /* toTheRight */);
108 return d.startUnlock(true /* toTheRight */);
109 }
109 }
110
110
111− LightDM{
112− id:lightDM
113− fullLightDM: root.fullLightDM
114− }
115−
116 QtObject {
111 QtObject {
117 id: d
112 id: d
118
113
qml/Shell.qml+1−2
@@ -681,8 +681,7 @@ Item {
681 shutdownFadeOutRectangle.visible = true;
681 shutdownFadeOutRectangle.visible = true;
682 shutdownFadeOut.start();
682 shutdownFadeOut.start();
683 }
683 }
684− fullLightDM: shell.mode === "greeter"
685− lightDM: lightDM
684+ lightDM: shell.lightDM
686 }
685 }
687
686
688 Connections {
687 Connections {