mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-30 16:06:24 +00:00
fix(src/components/codecs/AbstractCodecsModel): little fixes
This commit is contained in:
parent
816a9c2af0
commit
317051fabf
2 changed files with 2 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ bool AbstractCodecsModel::moveRows (
|
|||
// Update linphone codecs list.
|
||||
list<shared_ptr<linphone::PayloadType> > codecs;
|
||||
for (const auto &map : m_codecs)
|
||||
codecs.push_back(map.value("__codec").value<shared_ptr<linphone::PayloadType> >());
|
||||
codecs.push_back(getCodecFromMap(map));
|
||||
updateCodecs(codecs);
|
||||
|
||||
endMoveRows();
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ Column {
|
|||
|
||||
NumericField {
|
||||
Layout.preferredWidth: CodecsViewerStyle.column.bitrateWidth
|
||||
readOnly: !$codec.isVbr
|
||||
text: $codec.bitrate
|
||||
|
||||
onEditingFinished: view.model.setBitrate(index, text)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue