summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloatercontainer.cpp
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-07-12 16:36:01 +0300
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-07-12 16:36:01 +0300
commit6dff1477d5898c54ea0a08aa72bd099b628433e7 (patch)
tree13544d7e0397d2a34c5a78fe56ea63cb7acab998 /indra/newview/llimfloatercontainer.cpp
parentaafbf0d21301ccaf2e447a556d08e6686f519d4d (diff)
CHUI-199 FIXED Save positioning of conversations between sessions
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rw-r--r--indra/newview/llimfloatercontainer.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp
index f54b3672e5..bf0fc2f6c0 100644
--- a/indra/newview/llimfloatercontainer.cpp
+++ b/indra/newview/llimfloatercontainer.cpp
@@ -154,12 +154,6 @@ void LLIMFloaterContainer::addFloater(LLFloater* floaterp,
// Add a conversation list item in the left pane
addConversationListItem(floaterp->getTitle(), session_id, floaterp);
- LLView* floater_contents = floaterp->getChild<LLView>("contents_view");
-
- // we don't show the header when the floater is hosted,
- // so reshape floater contents to occupy the header space
- floater_contents->setShape(floaterp->getRect());
-
LLIconCtrl* icon = 0;
if(gAgent.isInGroup(session_id, TRUE))
@@ -185,19 +179,6 @@ void LLIMFloaterContainer::addFloater(LLFloater* floaterp,
mTabContainer->setTabImage(floaterp, icon);
}
-// virtual
-void LLIMFloaterContainer::removeFloater(LLFloater* floaterp)
-{
- LLMultiFloater::removeFloater(floaterp);
-
- LLRect contents_rect = floaterp->getRect();
-
- // reduce the floater contents height by header height
- contents_rect.mTop -= floaterp->getHeaderHeight();
-
- LLView* floater_contents = floaterp->getChild<LLView>("contents_view");
- floater_contents->setShape(contents_rect);
-}
void LLIMFloaterContainer::onCloseFloater(LLUUID& id)
{