summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-07-18 19:59:31 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-07-18 19:59:31 +0300
commite37c30d5cd247d4dcefa1cf8e9e83fa8d8c25470 (patch)
treece4ce63e8515fd63bd5d17412a189bb547288424 /indra/newview/llinventorymodel.cpp
parentbce40a19348a35f5e223cf740e4ba7e96314286b (diff)
Backed out changeset: 43f9351c7f6f
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index bedf11d7e4..b447166764 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -342,17 +342,6 @@ LLViewerInventoryCategory* LLInventoryModel::getCategory(const LLUUID& id) const
return category;
}
-bool LLInventoryModel::isCategoryHidden(const LLUUID& id) const
-{
- const LLViewerInventoryCategory* category = getCategory(id);
- if (category)
- {
- LLFolderType::EType cat_type = category->getPreferredType();
- return (cat_type == LLFolderType::FT_INBOX || cat_type == LLFolderType::FT_OUTBOX);
- }
- return false;
-}
-
S32 LLInventoryModel::getItemCount() const
{
return mItemMap.size();