diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloatervoicedevicesettings.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatervoicedevicesettings.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatervoicedevicesettings.cpp b/linden/indra/newview/llfloatervoicedevicesettings.cpp index c7b9562..7ffaa73 100644 --- a/linden/indra/newview/llfloatervoicedevicesettings.cpp +++ b/linden/indra/newview/llfloatervoicedevicesettings.cpp | |||
@@ -105,7 +105,7 @@ void LLPanelVoiceDeviceSettings::draw() | |||
105 | { | 105 | { |
106 | for(S32 power_bar_idx = 0; power_bar_idx < 5; power_bar_idx++) | 106 | for(S32 power_bar_idx = 0; power_bar_idx < 5; power_bar_idx++) |
107 | { | 107 | { |
108 | LLString view_name = llformat("%s%d", "bar", power_bar_idx); | 108 | std::string view_name = llformat("%s%d", "bar", power_bar_idx); |
109 | LLView* bar_view = getChild<LLView>(view_name); | 109 | LLView* bar_view = getChild<LLView>(view_name); |
110 | if (bar_view) | 110 | if (bar_view) |
111 | { | 111 | { |
@@ -260,7 +260,9 @@ void LLPanelVoiceDeviceSettings::onCommitOutputDevice(LLUICtrl* ctrl, void* user | |||
260 | // LLFloaterVoiceDeviceSettings | 260 | // LLFloaterVoiceDeviceSettings |
261 | // | 261 | // |
262 | 262 | ||
263 | LLFloaterVoiceDeviceSettings::LLFloaterVoiceDeviceSettings(const LLSD& seed) : LLFloater("floater_device_settings"), mDevicePanel(NULL) | 263 | LLFloaterVoiceDeviceSettings::LLFloaterVoiceDeviceSettings(const LLSD& seed) |
264 | : LLFloater(std::string("floater_device_settings")), | ||
265 | mDevicePanel(NULL) | ||
264 | { | 266 | { |
265 | mFactoryMap["device_settings"] = LLCallbackMap(createPanelVoiceDeviceSettings, this); | 267 | mFactoryMap["device_settings"] = LLCallbackMap(createPanelVoiceDeviceSettings, this); |
266 | // do not automatically open singleton floaters (as result of getInstance()) | 268 | // do not automatically open singleton floaters (as result of getInstance()) |