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
ee7badd0
Commit
ee7badd0
authored
Feb 16, 2011
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverted explicit type casting
parent
fc92caf1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mainwindow.py
blink/mainwindow.py
+3
-3
preferences.py
blink/preferences.py
+3
-3
No files found.
blink/mainwindow.py
View file @
ee7badd0
...
...
@@ -300,17 +300,17 @@ class MainWindow(base_class, ui_class):
def
_AH_AudioAlertDeviceChanged
(
self
,
action
):
settings
=
SIPSimpleSettings
()
settings
.
audio
.
alert_device
=
unicode
(
action
.
data
()
.
toPyObject
()
)
settings
.
audio
.
alert_device
=
action
.
data
()
.
toPyObject
(
)
settings
.
save
()
def
_AH_AudioInputDeviceChanged
(
self
,
action
):
settings
=
SIPSimpleSettings
()
settings
.
audio
.
input_device
=
unicode
(
action
.
data
()
.
toPyObject
()
)
settings
.
audio
.
input_device
=
action
.
data
()
.
toPyObject
(
)
settings
.
save
()
def
_AH_AudioOutputDeviceChanged
(
self
,
action
):
settings
=
SIPSimpleSettings
()
settings
.
audio
.
output_device
=
unicode
(
action
.
data
()
.
toPyObject
()
)
settings
.
audio
.
output_device
=
action
.
data
()
.
toPyObject
(
)
settings
.
save
()
def
_AH_AutoAcceptChatTriggered
(
self
,
checked
):
...
...
blink/preferences.py
View file @
ee7badd0
...
...
@@ -1007,19 +1007,19 @@ class PreferencesWindow(base_class, ui_class):
# Audio devices signal handlers
def
_SH_AudioAlertDeviceButtonActivated
(
self
,
index
):
device
=
unicode
(
self
.
audio_alert_device_button
.
itemData
(
index
)
.
toPyObject
()
)
device
=
self
.
audio_alert_device_button
.
itemData
(
index
)
.
toPyObject
(
)
settings
=
SIPSimpleSettings
()
settings
.
audio
.
alert_device
=
device
settings
.
save
()
def
_SH_AudioInputDeviceButtonActivated
(
self
,
index
):
device
=
unicode
(
self
.
audio_input_device_button
.
itemData
(
index
)
.
toPyObject
()
)
device
=
self
.
audio_input_device_button
.
itemData
(
index
)
.
toPyObject
(
)
settings
=
SIPSimpleSettings
()
settings
.
audio
.
input_device
=
device
settings
.
save
()
def
_SH_AudioOutputDeviceButtonActivated
(
self
,
index
):
device
=
unicode
(
self
.
audio_output_device_button
.
itemData
(
index
)
.
toPyObject
()
)
device
=
self
.
audio_output_device_button
.
itemData
(
index
)
.
toPyObject
(
)
settings
=
SIPSimpleSettings
()
settings
.
audio
.
output_device
=
device
settings
.
save
()
...
...
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