summaryrefslogtreecommitdiff
path: root/indra/newview/llblockedlistitem.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-06-10 20:03:54 +0300
committerGitHub <noreply@github.com>2024-06-10 20:03:54 +0300
commitf74c10c4ec6435471bac84473fe865f90843c2df (patch)
treeb2853d87789dbb84d6c26c259eab6639d3a7e482 /indra/newview/llblockedlistitem.cpp
parent5fccb539937a52d286274a002266e022e2102e5e (diff)
parent32fcefc058ae38eff0572326ef3efd1c7b343144 (diff)
Merge branch 'DRTVWR-600-maint-A' into signal/trim-trailing
Diffstat (limited to 'indra/newview/llblockedlistitem.cpp')
-rw-r--r--indra/newview/llblockedlistitem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llblockedlistitem.cpp b/indra/newview/llblockedlistitem.cpp
index 875e8e0bf1..2a0255fb10 100644
--- a/indra/newview/llblockedlistitem.cpp
+++ b/indra/newview/llblockedlistitem.cpp
@@ -51,7 +51,7 @@ LLBlockedListItem::LLBlockedListItem(const LLMute* item)
buildFromFile("panel_blocked_list_item.xml");
}
-BOOL LLBlockedListItem::postBuild()
+bool LLBlockedListItem::postBuild()
{
mTitleCtrl = getChild<LLTextBox>("item_name");
mTitleCtrl->setValue(mItemName);
@@ -62,27 +62,27 @@ BOOL LLBlockedListItem::postBuild()
case LLMute::EXTERNAL:
{
LLAvatarIconCtrl* avatar_icon = getChild<LLAvatarIconCtrl>("avatar_icon");
- avatar_icon->setVisible(TRUE);
+ avatar_icon->setVisible(true);
avatar_icon->setValue(mItemID);
}
break;
case LLMute::GROUP:
{
LLGroupIconCtrl* group_icon = getChild<LLGroupIconCtrl>("group_icon");
- group_icon->setVisible(TRUE);
+ group_icon->setVisible(true);
group_icon->setValue(mItemID);
}
break;
case LLMute::OBJECT:
case LLMute::BY_NAME:
- getChild<LLUICtrl>("object_icon")->setVisible(TRUE);
+ getChild<LLUICtrl>("object_icon")->setVisible(true);
break;
default:
break;
}
- return TRUE;
+ return true;
}
void LLBlockedListItem::onMouseEnter(S32 x, S32 y, MASK mask)