mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 14:28:49 +00:00
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:
parent
2e03bded43
commit
c666c251c8
Notes:
sideshowbarker
2024-07-19 06:16:40 +09:00
Author: https://github.com/awesomekling
Commit: c666c251c8
6 changed files with 12 additions and 9 deletions
|
@ -572,7 +572,7 @@ Model::ColumnMetadata FileSystemModel::column_metadata(int column) const
|
|||
{
|
||||
switch (column) {
|
||||
case Column::Icon:
|
||||
return { 16, Model::ColumnMetadata::Sortable::False };
|
||||
return { 16 };
|
||||
case Column::Name:
|
||||
return { 120 };
|
||||
case Column::Size:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue