diff options
author | Jacek Antonelli | 2009-01-28 20:04:52 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-01-28 20:05:02 -0600 |
commit | 0ef11cf31364456ec247b0fc7ad8f6d1de408400 (patch) | |
tree | 50754b286468147a70271253a2a74215c80e1354 /linden/indra/newview/llprefsvoice.cpp | |
parent | Second Life viewer sources 1.22.5-RC (diff) | |
download | meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.zip meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.tar.gz meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.tar.bz2 meta-impy-0ef11cf31364456ec247b0fc7ad8f6d1de408400.tar.xz |
Second Life viewer sources 1.22.6-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llprefsvoice.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsvoice.cpp b/linden/indra/newview/llprefsvoice.cpp index 568e1be..ae7c921 100644 --- a/linden/indra/newview/llprefsvoice.cpp +++ b/linden/indra/newview/llprefsvoice.cpp | |||
@@ -139,10 +139,21 @@ void LLPrefsVoice::apply() | |||
139 | gSavedSettings.setBOOL("VoiceCallsFriendsOnly", childGetValue("voice_call_friends_only_check")); | 139 | gSavedSettings.setBOOL("VoiceCallsFriendsOnly", childGetValue("voice_call_friends_only_check")); |
140 | gSavedSettings.setBOOL("PushToTalkToggle", childGetValue("push_to_talk_toggle_check")); | 140 | gSavedSettings.setBOOL("PushToTalkToggle", childGetValue("push_to_talk_toggle_check")); |
141 | gSavedSettings.setS32("VoiceEarLocation", childGetValue("ear_location")); | 141 | gSavedSettings.setS32("VoiceEarLocation", childGetValue("ear_location")); |
142 | |||
143 | LLFloaterVoiceDeviceSettings* voice_device_settings = LLFloaterVoiceDeviceSettings::getInstance(); | ||
144 | if(voice_device_settings) | ||
145 | { | ||
146 | voice_device_settings->apply(); | ||
147 | } | ||
142 | } | 148 | } |
143 | 149 | ||
144 | void LLPrefsVoice::cancel() | 150 | void LLPrefsVoice::cancel() |
145 | { | 151 | { |
152 | LLFloaterVoiceDeviceSettings* voice_device_settings = LLFloaterVoiceDeviceSettings::getInstance(); | ||
153 | if(voice_device_settings) | ||
154 | { | ||
155 | voice_device_settings->cancel(); | ||
156 | } | ||
146 | } | 157 | } |
147 | 158 | ||
148 | void LLPrefsVoice::setKey(KEY key) | 159 | void LLPrefsVoice::setKey(KEY key) |