Commit 6a68d34f authored by Ghislain MARY's avatar Ghislain MARY

Fix build with IntRange structure that has become a Range object.

parent f840ad2f
...@@ -385,8 +385,8 @@ void SettingsModel::setAdaptiveRateControlEnabled (bool status) { ...@@ -385,8 +385,8 @@ void SettingsModel::setAdaptiveRateControlEnabled (bool status) {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
QList<int> SettingsModel::getAudioPortRange () const { QList<int> SettingsModel::getAudioPortRange () const {
linphone::IntRange range = CoreManager::getInstance()->getCore()->getAudioPortRange(); shared_ptr<linphone::Range> range = CoreManager::getInstance()->getCore()->getAudioPortsRange();
return QList<int>() << range.getMin() << range.getMax(); return QList<int>() << range->getMin() << range->getMax();
} }
void SettingsModel::setAudioPortRange (const QList<int> &range) { void SettingsModel::setAudioPortRange (const QList<int> &range) {
...@@ -405,8 +405,8 @@ void SettingsModel::setAudioPortRange (const QList<int> &range) { ...@@ -405,8 +405,8 @@ void SettingsModel::setAudioPortRange (const QList<int> &range) {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
QList<int> SettingsModel::getVideoPortRange () const { QList<int> SettingsModel::getVideoPortRange () const {
linphone::IntRange range = CoreManager::getInstance()->getCore()->getVideoPortRange(); shared_ptr<linphone::Range> range = CoreManager::getInstance()->getCore()->getVideoPortsRange();
return QList<int>() << range.getMin() << range.getMax(); return QList<int>() << range->getMin() << range->getMax();
} }
void SettingsModel::setVideoPortRange (const QList<int> &range) { void SettingsModel::setVideoPortRange (const QList<int> &range) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment