summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationloglistitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llconversationloglistitem.cpp')
-rw-r--r--indra/newview/llconversationloglistitem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llconversationloglistitem.cpp b/indra/newview/llconversationloglistitem.cpp
index 2c411ef0ef..20d5b0175b 100644
--- a/indra/newview/llconversationloglistitem.cpp
+++ b/indra/newview/llconversationloglistitem.cpp
@@ -62,7 +62,7 @@ LLConversationLogListItem::~LLConversationLogListItem()
mIMFloaterShowedConnection.disconnect();
}
-BOOL LLConversationLogListItem::postBuild()
+bool LLConversationLogListItem::postBuild()
{
initIcons();
@@ -77,7 +77,7 @@ BOOL LLConversationLogListItem::postBuild()
getChild<LLButton>("delete_btn")->setClickedCallback(boost::bind(&LLConversationLogListItem::onRemoveBtnClicked, this));
setDoubleClickCallback(boost::bind(&LLConversationLogListItem::onDoubleClick, this));
- return TRUE;
+ return true;
}
void LLConversationLogListItem::initIcons()
@@ -88,14 +88,14 @@ void LLConversationLogListItem::initIcons()
case LLIMModel::LLIMSession::ADHOC_SESSION:
{
LLAvatarIconCtrl* avatar_icon = getChild<LLAvatarIconCtrl>("avatar_icon");
- avatar_icon->setVisible(TRUE);
+ avatar_icon->setVisible(true);
avatar_icon->setValue(mConversation->getParticipantID());
break;
}
case LLIMModel::LLIMSession::GROUP_SESSION:
{
LLGroupIconCtrl* group_icon = getChild<LLGroupIconCtrl>("group_icon");
- group_icon->setVisible(TRUE);
+ group_icon->setVisible(true);
group_icon->setValue(mConversation->getSessionID());
break;
}
@@ -105,7 +105,7 @@ void LLConversationLogListItem::initIcons()
if (mConversation->hasOfflineMessages())
{
- getChild<LLIconCtrl>("unread_ims_icon")->setVisible(TRUE);
+ getChild<LLIconCtrl>("unread_ims_icon")->setVisible(true);
}
}
@@ -150,7 +150,7 @@ void LLConversationLogListItem::onIMFloaterShown(const LLUUID& session_id)
{
if (mConversation->getSessionID() == session_id)
{
- getChild<LLIconCtrl>("unread_ims_icon")->setVisible(FALSE);
+ getChild<LLIconCtrl>("unread_ims_icon")->setVisible(false);
}
}