Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
6a68d34f
Commit
6a68d34f
authored
Apr 18, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build with IntRange structure that has become a Range object.
parent
f840ad2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SettingsModel.cpp
linphone-desktop/src/components/settings/SettingsModel.cpp
+4
-4
No files found.
linphone-desktop/src/components/settings/SettingsModel.cpp
View file @
6a68d34f
...
...
@@ -385,8 +385,8 @@ void SettingsModel::setAdaptiveRateControlEnabled (bool status) {
// -----------------------------------------------------------------------------
QList
<
int
>
SettingsModel
::
getAudioPortRange
()
const
{
linphone
::
IntRange
range
=
CoreManager
::
getInstance
()
->
getCore
()
->
getAudioPort
Range
();
return
QList
<
int
>
()
<<
range
.
getMin
()
<<
range
.
getMax
();
shared_ptr
<
linphone
::
Range
>
range
=
CoreManager
::
getInstance
()
->
getCore
()
->
getAudioPorts
Range
();
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
()
->
getVideoPort
Range
();
return
QList
<
int
>
()
<<
range
.
getMin
()
<<
range
.
getMax
();
shared_ptr
<
linphone
::
Range
>
range
=
CoreManager
::
getInstance
()
->
getCore
()
->
getVideoPorts
Range
();
return
QList
<
int
>
()
<<
range
->
getMin
()
<<
range
->
getMax
();
}
void
SettingsModel
::
setVideoPortRange
(
const
QList
<
int
>
&
range
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment