aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelweb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelweb.cpp')
-rw-r--r--linden/indra/newview/llpanelweb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelweb.cpp b/linden/indra/newview/llpanelweb.cpp
index 0de828a..13ed9bf 100644
--- a/linden/indra/newview/llpanelweb.cpp
+++ b/linden/indra/newview/llpanelweb.cpp
@@ -46,7 +46,7 @@
46#include "llui.h" 46#include "llui.h"
47#include "lluictrlfactory.h" 47#include "lluictrlfactory.h"
48#include "llviewercontrol.h" 48#include "llviewercontrol.h"
49#include "llvieweruictrlfactory.h" 49#include "lluictrlfactory.h"
50#include "llviewerwindow.h" 50#include "llviewerwindow.h"
51#include "llmediamanager.h" 51#include "llmediamanager.h"
52 52
@@ -92,7 +92,7 @@ void free_web_media(LLMediaBase *media_source)
92 92
93LLPanelWeb::LLPanelWeb() 93LLPanelWeb::LLPanelWeb()
94{ 94{
95 gUICtrlFactory->buildPanel(this, "panel_preferences_web.xml"); 95 LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_web.xml");
96} 96}
97 97
98BOOL LLPanelWeb::postBuild() 98BOOL LLPanelWeb::postBuild()
@@ -138,7 +138,7 @@ void LLPanelWeb::refresh()
138 mWebProxyAddress = gSavedSettings.getString("BrowserProxyAddress"); 138 mWebProxyAddress = gSavedSettings.getString("BrowserProxyAddress");
139 mWebProxyPort = gSavedSettings.getS32("BrowserProxyPort"); 139 mWebProxyPort = gSavedSettings.getS32("BrowserProxyPort");
140 140
141 LLLineEditor* web_proxy_editor = gUICtrlFactory->getLineEditorByName(this, "web_proxy_editor"); 141 LLLineEditor* web_proxy_editor = getChild<LLLineEditor>("web_proxy_editor");
142 if (web_proxy_editor) 142 if (web_proxy_editor)
143 { 143 {
144 web_proxy_editor->setText( gSavedSettings.getString("BrowserProxyAddress") ); 144 web_proxy_editor->setText( gSavedSettings.getString("BrowserProxyAddress") );