Don't provide Dialogs with a copy of lightDM, just refer to a shared copy.
commit018e631d8372a65ec80192174edc41158a917956
authorJosh Arenson <joshua.arenson@canonical.com>
dateTue 25 Aug 2015, 14:57 (11 years ago)
parent312c81e
qml/Components/Dialogs.qml+1−5
@@ -36,6 +36,7 @@ Item {
3636 }
3737 }
3838
39+ property LightDM lightDM
3940 property bool fullLightDM
4041
4142 signal powerOffClicked();
@@ -64,11 +65,6 @@ Item {
6465 active: false
6566 }
6667
67− LightDM{
68− id: lightDM
69− fullLightDM: root.fullLightDM
70− }
71−
7268 Component {
7369 id: logoutDialogComponent
7470 ShellDialog {
qml/Shell.qml+1
@@ -693,6 +693,7 @@ Item {
693693 shutdownFadeOut.start();
694694 }
695695 fullLightDM: shell.mode === "greeter"
696+ lightDM: lightDM
696697 }
697698
698699 Connections {