mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-01 11:39:26 +00:00
Fix build with IntRange structure that has become a Range object.
This commit is contained in:
parent
f840ad2f85
commit
6a68d34fcf
1 changed files with 4 additions and 4 deletions
|
|
@ -385,8 +385,8 @@ void SettingsModel::setAdaptiveRateControlEnabled (bool status) {
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
QList<int> SettingsModel::getAudioPortRange () const {
|
||||
linphone::IntRange range = CoreManager::getInstance()->getCore()->getAudioPortRange();
|
||||
return QList<int>() << range.getMin() << range.getMax();
|
||||
shared_ptr<linphone::Range> range = CoreManager::getInstance()->getCore()->getAudioPortsRange();
|
||||
return QList<int>() << range->getMin() << range->getMax();
|
||||
}
|
||||
|
||||
void SettingsModel::setAudioPortRange (const QList<int> &range) {
|
||||
|
|
@ -405,8 +405,8 @@ void SettingsModel::setAudioPortRange (const QList<int> &range) {
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
QList<int> SettingsModel::getVideoPortRange () const {
|
||||
linphone::IntRange range = CoreManager::getInstance()->getCore()->getVideoPortRange();
|
||||
return QList<int>() << range.getMin() << range.getMax();
|
||||
shared_ptr<linphone::Range> range = CoreManager::getInstance()->getCore()->getVideoPortsRange();
|
||||
return QList<int>() << range->getMin() << range->getMax();
|
||||
}
|
||||
|
||||
void SettingsModel::setVideoPortRange (const QList<int> &range) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue