GH-1635 add filter bar to mod list pages
This commit is contained in:
parent
42a98c3661
commit
eec87db86a
5 changed files with 96 additions and 26 deletions
|
@ -199,6 +199,17 @@ bool ModList::deleteMods(int first, int last)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool ModList::deleteMods(const QVector<int> &indexes)
|
||||
{
|
||||
for (auto i: indexes)
|
||||
{
|
||||
Mod &m = mods[i];
|
||||
m.destroy();
|
||||
}
|
||||
emit changed();
|
||||
return true;
|
||||
}
|
||||
|
||||
int ModList::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
return 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue