Wifi+BT: added right click
This commit is contained in:
parent
34d037d7dc
commit
933dfc402b
3 changed files with 2 additions and 2 deletions
|
|
@ -22,4 +22,5 @@ NIconButton {
|
||||||
icon: Settings.data.network.bluetoothEnabled ? "bluetooth" : "bluetooth-off"
|
icon: Settings.data.network.bluetoothEnabled ? "bluetooth" : "bluetooth-off"
|
||||||
tooltipText: "Bluetooth devices."
|
tooltipText: "Bluetooth devices."
|
||||||
onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(this)
|
onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(this)
|
||||||
|
onRightClicked: PanelService.getPanel("bluetoothPanel")?.toggle(this)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,4 +42,5 @@ NIconButton {
|
||||||
}
|
}
|
||||||
tooltipText: "Manage Wi-Fi."
|
tooltipText: "Manage Wi-Fi."
|
||||||
onClicked: PanelService.getPanel("wifiPanel")?.toggle(this)
|
onClicked: PanelService.getPanel("wifiPanel")?.toggle(this)
|
||||||
|
onRightClicked: PanelService.getPanel("wifiPanel")?.toggle(this)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,6 @@ Singleton {
|
||||||
function onMutedChanged() {
|
function onMutedChanged() {
|
||||||
root._muted = (sink?.audio.muted ?? true)
|
root._muted = (sink?.audio.muted ?? true)
|
||||||
Logger.log("AudioService", "OnMuteChanged:", root._muted)
|
Logger.log("AudioService", "OnMuteChanged:", root._muted)
|
||||||
// Toast: audio output mute toggle
|
|
||||||
ToastService.showNotice("Audio Output", root._muted ? "Muted" : "Unmuted")
|
ToastService.showNotice("Audio Output", root._muted ? "Muted" : "Unmuted")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -81,7 +80,6 @@ Singleton {
|
||||||
function onMutedChanged() {
|
function onMutedChanged() {
|
||||||
root._inputMuted = (source?.audio.muted ?? true)
|
root._inputMuted = (source?.audio.muted ?? true)
|
||||||
Logger.log("AudioService", "OnInputMuteChanged:", root._inputMuted)
|
Logger.log("AudioService", "OnInputMuteChanged:", root._inputMuted)
|
||||||
// Toast: microphone mute toggle
|
|
||||||
ToastService.showNotice("Microphone", root._inputMuted ? "Muted" : "Unmuted")
|
ToastService.showNotice("Microphone", root._inputMuted ? "Muted" : "Unmuted")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue