@@ -27,6 +27,10 @@ Item {
27 readonly property int stepDown: -1
27 readonly property int stepDown: -1
29 property var indicators // passed from Shell.qml
29 property var indicators // passed from Shell.qml
30+ readonly property bool showNotification: indicators && indicators.fullyOpened && indicators.currentIndicator === "indicator-sound"
31+ onShowNotificationChanged: { // disallow the volume notification when using the slider, lpbug#1484126
32+ actionGroup.indicatorsAction.updateState(root.showNotification);
31 QDBusActionGroup {
35 QDBusActionGroup {
32 id: actionGroup
36 id: actionGroup
@@ -46,15 +50,5 @@ Item {
46 actionGroup.actionObject.activate(stepDown);
50 actionGroup.actionObject.activate(stepDown);
50− target: indicators // disallow the volume notification when using the slider, lpbug#1484126
51− onFullyOpenedChanged: {
52− actionGroup.indicatorsAction.updateState(indicators.fullyOpened && indicators.currentIndicator === "indicator-sound");
54− onCurrentIndicatorChanged: {
55− actionGroup.indicatorsAction.updateState(indicators.fullyOpened && indicators.currentIndicator === "indicator-sound");
59 Component.onCompleted: actionGroup.start()
53 Component.onCompleted: actionGroup.start()