summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/FileSystemModel.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-21 19:45:15 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-21 19:55:44 +0200
commitc666c251c89f9d63a4855494cc2cf0f92e524db0 (patch)
treee4a76d4cdf785fe571ea67219421430782773354 /Libraries/LibGUI/FileSystemModel.cpp
parent2e03bded43344d4dd2d4f19d4d963646aaa77e40 (diff)
downloadserenity-c666c251c89f9d63a4855494cc2cf0f92e524db0.zip
LibGUI: Replace ColumnMetadata::sortable => Model::is_column_sortable()
Now there's only one thing left in ColumnMetadata: the initial width.
Diffstat (limited to 'Libraries/LibGUI/FileSystemModel.cpp')
-rw-r--r--Libraries/LibGUI/FileSystemModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/FileSystemModel.cpp b/Libraries/LibGUI/FileSystemModel.cpp
index 9a4aea44ba..622bf94abc 100644
--- a/Libraries/LibGUI/FileSystemModel.cpp
+++ b/Libraries/LibGUI/FileSystemModel.cpp
@@ -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: