@@ -72,7 +72,7 @@ StyledItem {
72 property bool supportsMultiColorLed: true
72 property bool supportsMultiColorLed: true
74 // Used by tests
74 // Used by tests
75− property bool lightIndicators: false
75+ property alias lightIndicators: indicatorsModel.light
77 // to be read from outside
77 // to be read from outside
78 readonly property int mainAppWindowOrientationAngle: stage.mainAppWindowOrientationAngle
78 readonly property int mainAppWindowOrientationAngle: stage.mainAppWindowOrientationAngle
@@ -535,6 +535,7 @@ StyledItem {
535 && settings.enableIndicatorMenu
535 && settings.enableIndicatorMenu
537 model: Indicators.IndicatorsModel {
537 model: Indicators.IndicatorsModel {
538 // tablet and phone both use the same profile
539 // tablet and phone both use the same profile
539 // FIXME: use just "phone" for greeter too, but first fix
540 // FIXME: use just "phone" for greeter too, but first fix
540 // greeter app launching to either load the app inside the
541 // greeter app launching to either load the app inside the
@@ -542,8 +543,9 @@ StyledItem {
542 // involve taking the url-dispatcher dbus name and using
543 // involve taking the url-dispatcher dbus name and using
543 // SessionBroadcast to tell the session.
544 // SessionBroadcast to tell the session.
544 profile: shell.mode === "greeter" ? "desktop_greeter" : "phone"
545 profile: shell.mode === "greeter" ? "desktop_greeter" : "phone"
545− light: root.lightIndicators
546− Component.onCompleted: load();
546+ Component.onCompleted: {