Prevent unnecessary copy

meow-7.2.2
Ansariel 2023-12-09 02:09:42 +01:00
parent 6f2a821c8d
commit 73dd23d1a8
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ void LLPanelInventoryListItemBase::setTitle(const std::string& title,
BOOL LLPanelInventoryListItemBase::handleToolTip( S32 x, S32 y, MASK mask)
{
LLRect text_box_rect = mTitleCtrl->getRect();
const LLRect& text_box_rect = mTitleCtrl->getRect();
// <FS:Ansariel> Make inventory thumbnail tooltips work with inventory lists
static LLCachedControl<bool> showInventoryThumbnailTooltips(gSavedSettings, "FSShowInventoryThumbnailTooltips");