EXP-926 FIX -- Received items badge count and item count shown in inbox do not always match

* getFreshItemCount() function returns getTotalItemCount() for now, until we properly support
  item fresh-ness
meow-7.2.2
Leslie Linden 2011-06-23 10:34:44 -04:00
parent b84881382b
commit c61a7fbaac
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,7 @@ BOOL LLPanelMarketplaceInbox::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL dr
U32 LLPanelMarketplaceInbox::getFreshItemCount() const
{
#if SUPPORTING_FRESH_ITEM_COUNT
U32 fresh_item_count = 0;
LLFolderView * root_folder = mInventoryPanel->getRootFolder();
@ -135,6 +136,9 @@ U32 LLPanelMarketplaceInbox::getFreshItemCount() const
}
return fresh_item_count;
#else
return getTotalItemCount();
#endif
}
U32 LLPanelMarketplaceInbox::getTotalItemCount() const