aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatervoicewizard.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llfloatervoicewizard.cpp
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/newview/llfloatervoicewizard.cpp')
-rw-r--r--linden/indra/newview/llfloatervoicewizard.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloatervoicewizard.cpp b/linden/indra/newview/llfloatervoicewizard.cpp
index 69c7a9d..de11ab0 100644
--- a/linden/indra/newview/llfloatervoicewizard.cpp
+++ b/linden/indra/newview/llfloatervoicewizard.cpp
@@ -3,7 +3,9 @@
3 * @author Richard Nelson 3 * @author Richard Nelson
4 * @brief Voice communication set-up wizard 4 * @brief Voice communication set-up wizard
5 * 5 *
6 * Copyright (c) 2007-2007, Linden Research, Inc. 6 * $LicenseInfo:firstyear=2007&license=viewergpl$
7 *
8 * Copyright (c) 2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
9 * The source code in this file ("Source Code") is provided by Linden Lab 11 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "llviewerprecompiledheaders.h" 33#include "llviewerprecompiledheaders.h"
@@ -356,7 +359,7 @@ void LLPanelDeviceSettings::refresh()
356 if(mCtrlInputDevices) 359 if(mCtrlInputDevices)
357 { 360 {
358 mCtrlInputDevices->removeall(); 361 mCtrlInputDevices->removeall();
359 mCtrlInputDevices->add( "Default", ADD_BOTTOM ); 362 mCtrlInputDevices->add( childGetText("default_text"), ADD_BOTTOM );
360 363
361 devices = gVoiceClient->getCaptureDevices(); 364 devices = gVoiceClient->getCaptureDevices();
362 for(iter=devices->begin(); iter != devices->end(); iter++) 365 for(iter=devices->begin(); iter != devices->end(); iter++)
@@ -366,14 +369,14 @@ void LLPanelDeviceSettings::refresh()
366 369
367 if(!mCtrlInputDevices->setSimple(mInputDevice)) 370 if(!mCtrlInputDevices->setSimple(mInputDevice))
368 { 371 {
369 mCtrlInputDevices->setSimple("Default"); 372 mCtrlInputDevices->setSimple(childGetText("default_text"));
370 } 373 }
371 } 374 }
372 375
373 if(mCtrlOutputDevices) 376 if(mCtrlOutputDevices)
374 { 377 {
375 mCtrlOutputDevices->removeall(); 378 mCtrlOutputDevices->removeall();
376 mCtrlOutputDevices->add( "Default", ADD_BOTTOM ); 379 mCtrlOutputDevices->add( childGetText("default_text"), ADD_BOTTOM );
377 380
378 devices = gVoiceClient->getRenderDevices(); 381 devices = gVoiceClient->getRenderDevices();
379 for(iter=devices->begin(); iter != devices->end(); iter++) 382 for(iter=devices->begin(); iter != devices->end(); iter++)
@@ -383,7 +386,7 @@ void LLPanelDeviceSettings::refresh()
383 386
384 if(!mCtrlOutputDevices->setSimple(mOutputDevice)) 387 if(!mCtrlOutputDevices->setSimple(mOutputDevice))
385 { 388 {
386 mCtrlOutputDevices->setSimple("Default"); 389 mCtrlOutputDevices->setSimple(childGetText("default_text"));
387 } 390 }
388 } 391 }
389 mDevicesUpdated = TRUE; 392 mDevicesUpdated = TRUE;