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/llprefsim.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 'linden/indra/newview/llprefsim.cpp')
-rw-r--r-- | linden/indra/newview/llprefsim.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llprefsim.cpp b/linden/indra/newview/llprefsim.cpp index 168d218..fff10c7 100644 --- a/linden/indra/newview/llprefsim.cpp +++ b/linden/indra/newview/llprefsim.cpp | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "llagent.h" | 42 | #include "llagent.h" |
43 | #include "llviewercontrol.h" | 43 | #include "llviewercontrol.h" |
44 | #include "llviewernetwork.h" | 44 | #include "llviewernetwork.h" |
45 | #include "llvieweruictrlfactory.h" | 45 | #include "lluictrlfactory.h" |
46 | 46 | ||
47 | #include "lldirpicker.h" | 47 | #include "lldirpicker.h" |
48 | 48 | ||
@@ -91,7 +91,7 @@ protected: | |||
91 | LLPrefsIMImpl::LLPrefsIMImpl() | 91 | LLPrefsIMImpl::LLPrefsIMImpl() |
92 | : LLPanel("IM Prefs Panel") | 92 | : LLPanel("IM Prefs Panel") |
93 | { | 93 | { |
94 | gUICtrlFactory->buildPanel(this, "panel_preferences_im.xml"); | 94 | LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_im.xml"); |
95 | } | 95 | } |
96 | 96 | ||
97 | void LLPrefsIMImpl::refresh() | 97 | void LLPrefsIMImpl::refresh() |
@@ -187,7 +187,7 @@ void LLPrefsIMImpl::enableHistory() | |||
187 | 187 | ||
188 | void LLPrefsIMImpl::apply() | 188 | void LLPrefsIMImpl::apply() |
189 | { | 189 | { |
190 | LLTextEditor* busy = LLUICtrlFactory::getTextEditorByName(this, "busy_response"); | 190 | LLTextEditor* busy = getChild<LLTextEditor>("busy_response"); |
191 | LLWString busy_response; | 191 | LLWString busy_response; |
192 | if (busy) busy_response = busy->getWText(); | 192 | if (busy) busy_response = busy->getWText(); |
193 | LLWString::replaceTabsWithSpaces(busy_response, 4); | 193 | LLWString::replaceTabsWithSpaces(busy_response, 4); |