diff options
| author | richard <none@none> | 2009-11-23 11:42:32 -0800 |
|---|---|---|
| committer | richard <none@none> | 2009-11-23 11:42:32 -0800 |
| commit | 7fd1488c6218ddbd82de0eea86297e65f2561bc7 (patch) | |
| tree | a7a29812c0ed94c6a07c396f5e516dcf0950c99f /indra/newview/llimpanel.cpp | |
| parent | e0a364b7bf836191f25604ef9c3783be46c1ce55 (diff) | |
convert signals to allocate on demand in order to speed up widget construction
reviewed by James
Diffstat (limited to 'indra/newview/llimpanel.cpp')
| -rw-r--r-- | indra/newview/llimpanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 87b801d73b..e6ded5f371 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -216,7 +216,7 @@ LLFloaterIMPanel::~LLFloaterIMPanel() BOOL LLFloaterIMPanel::postBuild() { - mVisibleSignal.connect(boost::bind(&LLFloaterIMPanel::onVisibilityChange, this, _2)); + setVisibleCallback(boost::bind(&LLFloaterIMPanel::onVisibilityChange, this, _2)); mInputEditor = getChild<LLLineEditor>("chat_editor"); mInputEditor->setFocusReceivedCallback( boost::bind(onInputEditorFocusReceived, _1, this) ); |
