mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 05:38:12 +00:00
fix(src/components/settings/SettingsModel): use pointers for port range functions
This commit is contained in:
parent
8dc2d79ffb
commit
92bf040ddc
1 changed files with 2 additions and 2 deletions
|
|
@ -411,7 +411,7 @@ void SettingsModel::setAdaptiveRateControlEnabled (bool status) {
|
|||
|
||||
QList<int> SettingsModel::getAudioPortRange () const {
|
||||
int a, b;
|
||||
CoreManager::getInstance()->getCore()->getAudioPortRange(a, b);
|
||||
CoreManager::getInstance()->getCore()->getAudioPortRange(&a, &b);
|
||||
return QList<int>() << a << b;
|
||||
}
|
||||
|
||||
|
|
@ -432,7 +432,7 @@ void SettingsModel::setAudioPortRange (const QList<int> &range) {
|
|||
|
||||
QList<int> SettingsModel::getVideoPortRange () const {
|
||||
int a, b;
|
||||
CoreManager::getInstance()->getCore()->getVideoPortRange(a, b);
|
||||
CoreManager::getInstance()->getCore()->getVideoPortRange(&a, &b);
|
||||
return QList<int>() << a << b;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue