diff options
Diffstat (limited to 'linden/indra/newview/llprefsvoice.cpp')
-rw-r--r-- | linden/indra/newview/llprefsvoice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linden/indra/newview/llprefsvoice.cpp b/linden/indra/newview/llprefsvoice.cpp index 5aa2cf4..6661f08 100644 --- a/linden/indra/newview/llprefsvoice.cpp +++ b/linden/indra/newview/llprefsvoice.cpp | |||
@@ -96,7 +96,6 @@ void LLPrefsVoiceLogic::init() | |||
96 | mEnableVoice = gSavedSettings.getBOOL("EnableVoiceChat"); | 96 | mEnableVoice = gSavedSettings.getBOOL("EnableVoiceChat"); |
97 | 97 | ||
98 | mVoiceCallsFriendsOnly = gSavedSettings.getBOOL("VoiceCallsFriendsOnly"); | 98 | mVoiceCallsFriendsOnly = gSavedSettings.getBOOL("VoiceCallsFriendsOnly"); |
99 | // mEnablePushToTalk = gSavedSettings.getBOOL("EnablePushToTalk"); | ||
100 | mModifier = gSavedSettings.getString("PushToTalkButton"); | 99 | mModifier = gSavedSettings.getString("PushToTalkButton"); |
101 | mPushToTalkToggle = gSavedSettings.getBOOL("PushToTalkToggle"); | 100 | mPushToTalkToggle = gSavedSettings.getBOOL("PushToTalkToggle"); |
102 | mEarLocation = gSavedSettings.getS32("VoiceEarLocation"); | 101 | mEarLocation = gSavedSettings.getS32("VoiceEarLocation"); |
@@ -139,7 +138,6 @@ void LLPrefsVoiceLogic::cancel() | |||
139 | { | 138 | { |
140 | gSavedSettings.setBOOL("EnableVoiceChat", mEnableVoice); | 139 | gSavedSettings.setBOOL("EnableVoiceChat", mEnableVoice); |
141 | gSavedSettings.setBOOL("VoiceCallsFriendsOnly", mVoiceCallsFriendsOnly); | 140 | gSavedSettings.setBOOL("VoiceCallsFriendsOnly", mVoiceCallsFriendsOnly); |
142 | // gSavedSettings.setBOOL("EnablePushToTalk", mEnablePushToTalk ); | ||
143 | gSavedSettings.setString("PushToTalkButton", mModifier); | 141 | gSavedSettings.setString("PushToTalkButton", mModifier); |
144 | gSavedSettings.setBOOL("PushToTalkToggle", mPushToTalkToggle ); | 142 | gSavedSettings.setBOOL("PushToTalkToggle", mPushToTalkToggle ); |
145 | gSavedSettings.setS32("VoiceEarLocation", mEarLocation); | 143 | gSavedSettings.setS32("VoiceEarLocation", mEarLocation); |