mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 08:47:35 +00:00
Userland: Port lists of mime types to String
This commit is contained in:
parent
e75d694974
commit
9ce2682ce6
15 changed files with 18 additions and 26 deletions
|
@ -787,7 +787,7 @@ ErrorOr<String> FileSystemModel::column_name(int column) const
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
bool FileSystemModel::accepts_drag(ModelIndex const& index, Vector<DeprecatedString> const& mime_types) const
|
||||
bool FileSystemModel::accepts_drag(ModelIndex const& index, Vector<String> const& mime_types) const
|
||||
{
|
||||
if (!mime_types.contains_slow("text/uri-list"sv))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue