mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 03:53:23 +02:00
CallActionBar: fix audio output selection
GitLab: #843 Change-Id: I8249a5edd229ce6c264d5ec3e3527e980bb88934
This commit is contained in:
parent
e1777a9844
commit
4a583ed195
2 changed files with 2 additions and 4 deletions
|
@ -108,9 +108,7 @@ Control {
|
|||
}
|
||||
function accept(index) {
|
||||
AvAdapter.stopAudioMeter()
|
||||
AVModel.setOutputDevice(listModel.data(
|
||||
listModel.index(index, 0),
|
||||
AudioDeviceModel.RawDeviceName))
|
||||
AVModel.setOutputDevice(index)
|
||||
AvAdapter.startAudioMeter()
|
||||
}
|
||||
},
|
||||
|
|
|
@ -208,7 +208,7 @@ ItemDelegate {
|
|||
radius: 4
|
||||
}
|
||||
|
||||
onActivated: menuAction.accept(index)
|
||||
onActivated: index => menuAction.accept(index)
|
||||
model: visible ? menuAction.listModel : null
|
||||
delegate: ItemDelegate {
|
||||
id: menuItem
|
||||
|
|
Loading…
Add table
Reference in a new issue