Use Stripable::Sorter in GUI consistently.

This commit is contained in:
Robin Gareus 2017-06-16 23:45:16 +02:00
parent 140c511d2c
commit 1d28665f86
9 changed files with 80 additions and 204 deletions

View file

@ -129,7 +129,7 @@ StripableTreeModel::iter_next_vfunc (const iterator& iter, iterator& iter_next)
if (sl.empty()) {
return false;
}
sl.sort (Stripable::PresentationOrderSorter());
sl.sort (Stripable::Sorter());
for (StripableList::const_iterator s = sl.begin(); s != sl.end(); ++s) {
@ -199,7 +199,7 @@ StripableTreeModel::iter_nth_root_child_vfunc(int n, iterator& iter) const
return false;
}
sl.sort (Stripable::PresentationOrderSorter());
sl.sort (Stripable::Sorter());
StripableList::const_iterator s;