diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llpanelweb.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelweb.cpp | 6 |
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 | ||
93 | LLPanelWeb::LLPanelWeb() | 93 | LLPanelWeb::LLPanelWeb() |
94 | { | 94 | { |
95 | gUICtrlFactory->buildPanel(this, "panel_preferences_web.xml"); | 95 | LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_web.xml"); |
96 | } | 96 | } |
97 | 97 | ||
98 | BOOL LLPanelWeb::postBuild() | 98 | BOOL 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") ); |