forked from mirror/openmw-tes3mp
Remove an unused function
This commit is contained in:
parent
8426d376f0
commit
c8d6679a25
2 changed files with 0 additions and 6 deletions
|
@ -71,7 +71,6 @@ namespace MWGui
|
|||
SortFilterItemModel::SortFilterItemModel(ItemModel *sourceModel)
|
||||
: mCategory(Category_All)
|
||||
, mFilter(0)
|
||||
, mShowEquipped(true)
|
||||
, mSortByType(true)
|
||||
{
|
||||
mSourceModel = sourceModel;
|
||||
|
@ -91,9 +90,6 @@ namespace MWGui
|
|||
{
|
||||
MWWorld::Ptr base = item.mBase;
|
||||
|
||||
if (item.mType == ItemStack::Type_Equipped && !mShowEquipped)
|
||||
return false;
|
||||
|
||||
int category = 0;
|
||||
if (base.getTypeName() == typeid(ESM::Armor).name()
|
||||
|| base.getTypeName() == typeid(ESM::Clothing).name())
|
||||
|
|
|
@ -24,7 +24,6 @@ namespace MWGui
|
|||
|
||||
void setCategory (int category);
|
||||
void setFilter (int filter);
|
||||
void setShowEquipped (bool show) { mShowEquipped = show; }
|
||||
|
||||
/// Use ItemStack::Type for sorting?
|
||||
void setSortByType(bool sort) { mSortByType = sort; }
|
||||
|
@ -49,7 +48,6 @@ namespace MWGui
|
|||
|
||||
int mCategory;
|
||||
int mFilter;
|
||||
bool mShowEquipped;
|
||||
bool mSortByType;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue