fix volume indicator slider when in call #LINQT-2254
This commit is contained in:
parent
be6bf6f2a9
commit
2320cc7444
1 changed files with 1 additions and 2 deletions
|
|
@ -242,10 +242,9 @@ float SettingsModel::getMicVolume() {
|
||||||
} else {
|
} else {
|
||||||
auto call = CoreModel::getInstance()->getCore()->getCurrentCall();
|
auto call = CoreModel::getInstance()->getCore()->getCurrentCall();
|
||||||
if (call) {
|
if (call) {
|
||||||
v = call->getRecordVolume();
|
v = static_cast<float>(pow(10.0, call->getRecordVolume() / 10.0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
emit micVolumeChanged(v);
|
emit micVolumeChanged(v);
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue