aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelmsgs.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelmsgs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelmsgs.cpp b/linden/indra/newview/llpanelmsgs.cpp
index fc21ecb..fb33edf 100644
--- a/linden/indra/newview/llpanelmsgs.cpp
+++ b/linden/indra/newview/llpanelmsgs.cpp
@@ -36,7 +36,7 @@
36#include "llscrolllistctrl.h" 36#include "llscrolllistctrl.h"
37#include "llviewerwindow.h" 37#include "llviewerwindow.h"
38#include "llviewercontrol.h" 38#include "llviewercontrol.h"
39#include "llvieweruictrlfactory.h" 39#include "lluictrlfactory.h"
40#include "llfirstuse.h" 40#include "llfirstuse.h"
41 41
42class LLPopupData 42class LLPopupData
@@ -56,7 +56,7 @@ LLPanelMsgs::LLPanelMsgs() :
56 mDisabledPopups( NULL ), 56 mDisabledPopups( NULL ),
57 mEnabledPopups( NULL ) 57 mEnabledPopups( NULL )
58{ 58{
59 gUICtrlFactory->buildPanel(this, "panel_preferences_popups.xml"); 59 LLUICtrlFactory::getInstance()->buildPanel(this, "panel_preferences_popups.xml");
60} 60}
61 61
62 62
@@ -68,8 +68,8 @@ LLPanelMsgs::~LLPanelMsgs()
68//----------------------------------------------------------------------------- 68//-----------------------------------------------------------------------------
69BOOL LLPanelMsgs::postBuild() 69BOOL LLPanelMsgs::postBuild()
70{ 70{
71 mDisabledPopups = LLViewerUICtrlFactory::getScrollListByName(this, "disabled_popups"); 71 mDisabledPopups = getChild<LLScrollListCtrl>("disabled_popups");
72 mEnabledPopups = LLViewerUICtrlFactory::getScrollListByName(this, "enabled_popups"); 72 mEnabledPopups = getChild<LLScrollListCtrl>("enabled_popups");
73 childSetAction("enable_popup", onClickEnablePopup, this); 73 childSetAction("enable_popup", onClickEnablePopup, this);
74 childSetAction("reset_dialogs_btn", onClickResetDialogs, this); 74 childSetAction("reset_dialogs_btn", onClickResetDialogs, this);
75 childSetAction("skip_dialogs_btn", onClickSkipDialogs, this); 75 childSetAction("skip_dialogs_btn", onClickSkipDialogs, this);