Remove an unused function

sceneinput
scrawl 10 years ago
parent 8426d376f0
commit c8d6679a25

@ -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…
Cancel
Save