From ce28e056c20bf2723f565bbf464b87781ec248a2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:42 -0500 Subject: Second Life viewer sources 1.20.2 --- linden/indra/newview/llpanelweb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/llpanelweb.cpp') 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 @@ #include "llui.h" #include "lluictrlfactory.h" #include "llviewercontrol.h" -#include "llvieweruictrlfactory.h" +#include "lluictrlfactory.h" #include "llviewerwindow.h" #include "llmediamanager.h" @@ -92,7 +92,7 @@ void free_web_media(LLMediaBase *media_source) LLPanelWeb::LLPanelWeb() { - gUICtrlFactory->buildPanel(this, "panel_preferences_web.xml"); + LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_web.xml"); } BOOL LLPanelWeb::postBuild() @@ -138,7 +138,7 @@ void LLPanelWeb::refresh() mWebProxyAddress = gSavedSettings.getString("BrowserProxyAddress"); mWebProxyPort = gSavedSettings.getS32("BrowserProxyPort"); - LLLineEditor* web_proxy_editor = gUICtrlFactory->getLineEditorByName(this, "web_proxy_editor"); + LLLineEditor* web_proxy_editor = getChild("web_proxy_editor"); if (web_proxy_editor) { web_proxy_editor->setText( gSavedSettings.getString("BrowserProxyAddress") ); -- cgit v1.1