summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloatercontainer.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-08-23 16:11:08 -0700
committerMerov Linden <merov@lindenlab.com>2012-08-23 16:11:08 -0700
commit15d957616ebac22a9f4633b6d806f8519423593b (patch)
treea72bec506146b948ccc82d225fe0e6b17e5e303d /indra/newview/llimfloatercontainer.cpp
parentff95dd4a43fd888a9b7353abcbfa701e4844a3a5 (diff)
CHUI-282 : Use views for UI manipulation, not models
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rw-r--r--indra/newview/llimfloatercontainer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp
index 35b9f404c3..32ef292763 100644
--- a/indra/newview/llimfloatercontainer.cpp
+++ b/indra/newview/llimfloatercontainer.cpp
@@ -328,11 +328,11 @@ void LLIMFloaterContainer::setVisible(BOOL visible)
// We need to show/hide all the associated conversations that have been torn off
// (and therefore, are not longer managed by the multifloater),
// so that they show/hide with the conversations manager.
- conversations_widgets_map::iterator item_it = mConversationsWidgets.begin();
- for (;item_it != mConversationsWidgets.end(); ++item_it)
+ conversations_widgets_map::iterator widget_it = mConversationsWidgets.begin();
+ for (;widget_it != mConversationsWidgets.end(); ++widget_it)
{
- LLConversationViewSession* item = dynamic_cast<LLConversationViewSession*>(item_it->second);
- item->setVisibleIfDetached(visible);
+ LLConversationViewSession* widget = dynamic_cast<LLConversationViewSession*>(widget_it->second);
+ widget->setVisibleIfDetached(visible);
}
// Now, do the normal multifloater show/hide
@@ -513,11 +513,11 @@ void LLIMFloaterContainer::removeConversationListItem(const LLUUID& uuid, bool c
if (change_focus)
{
setFocus(TRUE);
- conversations_items_map::iterator item_it = mConversationsItems.begin();
- if (item_it != mConversationsItems.end())
+ conversations_widgets_map::iterator widget_it = mConversationsWidgets.begin();
+ if (widget_it != mConversationsWidgets.end())
{
- LLConversationItem* item = item_it->second;
- item->selectItem();
+ LLFolderViewItem* widget = widget_it->second;
+ widget->selectItem();
}
}
}