mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
parent
21fe86d235
commit
c25485700a
16 changed files with 30 additions and 30 deletions
|
@ -486,7 +486,7 @@ void MainWidget::drop_event(GUI::DropEvent& drop_event)
|
|||
|
||||
for (auto& url : urls) {
|
||||
auto& scheme = url.scheme();
|
||||
if (!scheme.equals_ignoring_ascii_case("file"sv))
|
||||
if (!scheme.bytes_as_string_view().equals_ignoring_ascii_case("file"sv))
|
||||
continue;
|
||||
|
||||
auto lexical_path = LexicalPath(url.serialize_path());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue