CHUI-649 : WIP : Cleanup code to make it readable

meow-7.2.2
Merov Linden 2013-01-09 20:20:32 -08:00
parent 8309722049
commit be3cfd872b
2 changed files with 8 additions and 6 deletions

View File

@ -409,7 +409,7 @@ void LLFolderViewItem::selectItem(void)
BOOL LLFolderViewItem::isMovable()
{
return getViewModelItem()->isItemMovable();
}
}
BOOL LLFolderViewItem::isRemovable()
{
@ -438,19 +438,19 @@ BOOL LLFolderViewItem::remove()
return FALSE;
}
return getViewModelItem()->removeItem();
}
}
// Build an appropriate context menu for the item.
void LLFolderViewItem::buildContextMenu(LLMenuGL& menu, U32 flags)
{
getViewModelItem()->buildContextMenu(menu, flags);
}
}
void LLFolderViewItem::openItem( void )
{
if (mAllowOpen)
{
getViewModelItem()->openItem();
getViewModelItem()->openItem();
}
}

View File

@ -511,8 +511,10 @@ BOOL LLInvFVBridge::isClipboardPasteable() const
// Each item must be copyable to be pastable
LLItemBridge item_br(mInventoryPanel.get(), mRoot, item_id);
if (!item_br.isItemCopyable())
return FALSE;
}
{
return FALSE;
}
}
return TRUE;
}