From 9a81cab748ecf795834ed34649a3bb3801a7abd6 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Fri, 22 Mar 2024 20:15:01 -0400 Subject: [PATCH] volumeosd: Remove control binding, as it's done in plasma-pa now See https://invent.kde.org/plasma/plasma-mobile/-/issues/337 --- .../qml/volumeosd/VolumeOSDProvider.qml | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/components/mobileshell/qml/volumeosd/VolumeOSDProvider.qml b/components/mobileshell/qml/volumeosd/VolumeOSDProvider.qml index 52709833..8aa2ea30 100644 --- a/components/mobileshell/qml/volumeosd/VolumeOSDProvider.qml +++ b/components/mobileshell/qml/volumeosd/VolumeOSDProvider.qml @@ -36,30 +36,4 @@ QtObject { } property var osd: VolumeOSD {} - - property var actionCollection: VolumeLib.GlobalActionCollection { - name: "kmix" - displayName: i18n("Audio") - - VolumeLib.GlobalAction { - objectName: "increase_volume" - text: i18n("Increase Volume") - shortcuts: [Qt.Key_VolumeUp] - onTriggered: MobileShell.AudioInfo.increaseVolume() - } - - VolumeLib.GlobalAction { - objectName: "decrease_volume" - text: i18n("Decrease Volume") - shortcuts: [Qt.Key_VolumeDown] - onTriggered: MobileShell.AudioInfo.decreaseVolume() - } - - VolumeLib.GlobalAction { - objectName: "mute" - text: i18n("Mute") - shortcuts: [Qt.Key_VolumeMute] - onTriggered: MobileShell.AudioInfo.muteVolume() - } - } }