Skip to content
Snippets Groups Projects
Commit 4a583ed1 authored by Franck Laurent's avatar Franck Laurent Committed by Sébastien Blin
Browse files

CallActionBar: fix audio output selection

GitLab: #843

Change-Id: I8249a5edd229ce6c264d5ec3e3527e980bb88934
parent e1777a98
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment