aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelgeneral.cpp')
-rw-r--r--linden/indra/newview/llpanelgeneral.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/linden/indra/newview/llpanelgeneral.cpp b/linden/indra/newview/llpanelgeneral.cpp
index 900598a..d60471d 100644
--- a/linden/indra/newview/llpanelgeneral.cpp
+++ b/linden/indra/newview/llpanelgeneral.cpp
@@ -105,7 +105,6 @@ BOOL LLPanelGeneral::postBuild()
105 requires("rotate_mini_map_checkbox", WIDGET_TYPE_CHECKBOX); 105 requires("rotate_mini_map_checkbox", WIDGET_TYPE_CHECKBOX);
106 requires("friends_online_notify_checkbox", WIDGET_TYPE_CHECKBOX); 106 requires("friends_online_notify_checkbox", WIDGET_TYPE_CHECKBOX);
107 requires("notify_money_change_checkbox", WIDGET_TYPE_CHECKBOX); 107 requires("notify_money_change_checkbox", WIDGET_TYPE_CHECKBOX);
108 requires("probe_hardware_checkbox", WIDGET_TYPE_CHECKBOX);
109 requires("use_system_color_picker_checkbox", WIDGET_TYPE_CHECKBOX); 108 requires("use_system_color_picker_checkbox", WIDGET_TYPE_CHECKBOX);
110 requires("crash_behavior_combobox", WIDGET_TYPE_COMBO_BOX); 109 requires("crash_behavior_combobox", WIDGET_TYPE_COMBO_BOX);
111 110
@@ -152,14 +151,6 @@ BOOL LLPanelGeneral::postBuild()
152 151
153 childSetCommitCallback("language_combobox", set_language ); 152 childSetCommitCallback("language_combobox", set_language );
154 childSetValue("language_combobox", gSavedSettings.getString("Language")); 153 childSetValue("language_combobox", gSavedSettings.getString("Language"));
155
156#if !LL_WINDOWS
157 // The probe_hardware_checkbox setting is only used in the Windows build
158 // (It apparently controls a time-consuming DX9 hardware probe.)
159 // Disable the checkbox everywhere else
160 gSavedSettings.setBOOL("ProbeHardwareOnStartup", FALSE );
161 childSetEnabled("probe_hardware_checkbox", false);
162#endif // !LL_WINDOWS
163 154
164 refresh(); 155 refresh();
165 156
@@ -205,7 +196,7 @@ void LLPanelGeneral::refresh()
205 mAFKTimeout = gSavedSettings.getF32("AFKTimeout"); 196 mAFKTimeout = gSavedSettings.getF32("AFKTimeout");
206 mMiniMapRotate = gSavedSettings.getBOOL("MiniMapRotate"); 197 mMiniMapRotate = gSavedSettings.getBOOL("MiniMapRotate");
207 mNotifyMoney = gSavedSettings.getBOOL("NotifyMoneyChange"); 198 mNotifyMoney = gSavedSettings.getBOOL("NotifyMoneyChange");
208 mProbeHardwareOnStartup = gSavedSettings.getBOOL("ProbeHardwareOnStartup"); 199 mShowNewInventory = gSavedSettings.getBOOL("ShowNewInventory");
209 mUseDefaultColor = gSavedSettings.getBOOL("UseDefaultColorPicker"); 200 mUseDefaultColor = gSavedSettings.getBOOL("UseDefaultColorPicker");
210 mEffectColor = gSavedSettings.getColor4("EffectColor"); 201 mEffectColor = gSavedSettings.getColor4("EffectColor");
211 202
@@ -226,7 +217,7 @@ void LLPanelGeneral::cancel()
226 gSavedSettings.setF32("AFKTimeout", mAFKTimeout ); 217 gSavedSettings.setF32("AFKTimeout", mAFKTimeout );
227 gSavedSettings.setBOOL("MiniMapRotate", mMiniMapRotate ); 218 gSavedSettings.setBOOL("MiniMapRotate", mMiniMapRotate );
228 gSavedSettings.setBOOL("NotifyMoneyChange", mNotifyMoney ); 219 gSavedSettings.setBOOL("NotifyMoneyChange", mNotifyMoney );
229 gSavedSettings.setBOOL("ProbeHardwareOnStartup", mProbeHardwareOnStartup ); 220 gSavedSettings.setBOOL("ShowNewInventory", mShowNewInventory);
230 gSavedSettings.setBOOL("UseDefaultColorPicker", mUseDefaultColor ); 221 gSavedSettings.setBOOL("UseDefaultColorPicker", mUseDefaultColor );
231 gSavedSettings.setColor4("EffectColor", mEffectColor ); 222 gSavedSettings.setColor4("EffectColor", mEffectColor );
232 gSavedSettings.setString("Language", mLanguage); 223 gSavedSettings.setString("Language", mLanguage);