LibGUI: Make SortingProxyModel proxy accepts_drag()

This commit is contained in:
Andreas Kling 2021-01-09 11:35:42 +01:00
commit 7baaa34490
Notes: sideshowbarker 2024-07-19 00:01:31 +09:00
6 changed files with 11 additions and 5 deletions

View file

@ -589,7 +589,7 @@ String FileSystemModel::column_name(int column) const
ASSERT_NOT_REACHED();
}
bool FileSystemModel::accepts_drag(const ModelIndex& index, const Vector<String>& mime_types)
bool FileSystemModel::accepts_drag(const ModelIndex& index, const Vector<String>& mime_types) const
{
if (!index.is_valid())
return false;