diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-01-22 15:16:53 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-01-22 15:16:53 +0200 |
commit | 7b41de5fac1e95a0623b519fbb7dd3d93d9fc42a (patch) | |
tree | 3c4140a22f10aa3fa495368d292ca311e9955648 /indra/newview/llpanelimcontrolpanel.cpp | |
parent | 1a8325f4dceeb9fa0c92ddbca26fe6a301be4e8d (diff) |
Work on normal task EXT-2214 Refactor IM Control Panels
-- removed reference to LLSpeakerMgr from LLPanelGroupControlPanel (group text chat)
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelimcontrolpanel.cpp')
-rw-r--r-- | indra/newview/llpanelimcontrolpanel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llpanelimcontrolpanel.cpp b/indra/newview/llpanelimcontrolpanel.cpp index 86bdee7c7d..a334eb9d68 100644 --- a/indra/newview/llpanelimcontrolpanel.cpp +++ b/indra/newview/llpanelimcontrolpanel.cpp @@ -245,7 +245,6 @@ void LLPanelIMControlPanel::nameUpdatedCallback(const LLUUID& id, const std::str LLPanelGroupControlPanel::LLPanelGroupControlPanel(const LLUUID& session_id): mParticipantList(NULL) { - mSpeakerManager = LLIMModel::getInstance()->getSpeakerManager(session_id); } BOOL LLPanelGroupControlPanel::postBuild() @@ -304,7 +303,10 @@ void LLPanelGroupControlPanel::setSessionId(const LLUUID& session_id) // for group and Ad-hoc chat we need to include agent into list if(!mParticipantList) - mParticipantList = new LLParticipantList(mSpeakerManager, getChild<LLAvatarList>("speakers_list"), true,false); + { + LLSpeakerMgr* speaker_manager = LLIMModel::getInstance()->getSpeakerManager(session_id); + mParticipantList = new LLParticipantList(speaker_manager, getChild<LLAvatarList>("speakers_list"), true,false); + } } |