LibGUI: Replace ColumnMetadata::sortable => Model::is_column_sortable()

Now there's only one thing left in ColumnMetadata: the initial width.
This commit is contained in:
Andreas Kling 2020-05-21 19:45:15 +02:00
parent 2e03bded43
commit c666c251c8
Notes: sideshowbarker 2024-07-19 06:16:40 +09:00
6 changed files with 12 additions and 9 deletions

View file

@ -153,4 +153,9 @@ void SortingProxyModel::resort()
});
}
bool SortingProxyModel::is_column_sortable(int column_index) const
{
return target().is_column_sortable(column_index);
}
}