volumeosd: Remove control binding, as it's done in plasma-pa now

See https://invent.kde.org/plasma/plasma-mobile/-/issues/337
This commit is contained in:
Devin Lin 2024-03-22 20:15:01 -04:00
parent de6c9b8a25
commit 9a81cab748

View file

@ -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()
}
}
}