Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
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
Kulya
vmj-qt
Commits
23534853
Commit
23534853
authored
Apr 02, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-worded comments for clarity
parent
7e48d30c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
preferences.py
blink/preferences.py
+2
-2
No files found.
blink/preferences.py
View file @
23534853
...
...
@@ -404,7 +404,7 @@ class PreferencesWindow(base_class, ui_class):
default_list
=
SIPSimpleSettings
.
rtp
.
audio_codec_list
.
default
if
settings
.
rtp
.
audio_codec_order
is
not
default_order
:
# user
changed the default
order, we need to sync with the new settings
# user
has a non-default codec
order, we need to sync with the new settings
added_codecs
=
set
(
default_order
)
.
difference
(
settings
.
rtp
.
audio_codec_order
)
removed_codecs
=
set
(
settings
.
rtp
.
audio_codec_order
)
.
difference
(
default_order
)
if
added_codecs
:
...
...
@@ -422,7 +422,7 @@ class PreferencesWindow(base_class, ui_class):
settings
.
save
()
for
account
in
(
account
for
account
in
account_manager
.
iter_accounts
()
if
account
.
rtp
.
audio_codec_order
is
not
None
):
# user
changed the default
order, we need to sync with the new settings
# user
has a non-default codec
order, we need to sync with the new settings
added_codecs
=
set
(
default_order
)
.
difference
(
account
.
rtp
.
audio_codec_order
)
removed_codecs
=
set
(
account
.
rtp
.
audio_codec_order
)
.
difference
(
default_order
)
if
added_codecs
:
...
...
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