diff --git a/linphone-desktop/src/components/settings/SettingsModel.cpp b/linphone-desktop/src/components/settings/SettingsModel.cpp index 88452ee4e..a7d6f2787 100644 --- a/linphone-desktop/src/components/settings/SettingsModel.cpp +++ b/linphone-desktop/src/components/settings/SettingsModel.cpp @@ -410,9 +410,8 @@ void SettingsModel::setAdaptiveRateControlEnabled (bool status) { // ----------------------------------------------------------------------------- QList SettingsModel::getAudioPortRange () const { - int a, b; - CoreManager::getInstance()->getCore()->getAudioPortRange(&a, &b); - return QList() << a << b; + linphone::IntRange range = CoreManager::getInstance()->getCore()->getAudioPortRange(); + return QList() << range.getMin() << range.getMax(); } void SettingsModel::setAudioPortRange (const QList &range) { @@ -431,9 +430,8 @@ void SettingsModel::setAudioPortRange (const QList &range) { // ----------------------------------------------------------------------------- QList SettingsModel::getVideoPortRange () const { - int a, b; - CoreManager::getInstance()->getCore()->getVideoPortRange(&a, &b); - return QList() << a << b; + linphone::IntRange range = CoreManager::getInstance()->getCore()->getVideoPortRange(); + return QList() << range.getMin() << range.getMax(); } void SettingsModel::setVideoPortRange (const QList &range) { diff --git a/submodules/linphone b/submodules/linphone index 9b236e535..cc00059dc 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 9b236e535d607b1baa5c4beec0b7409c54dbd03a +Subproject commit cc00059dcd4815018c76180c3456962223e0c42e