mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Everywhere: Use unqualified AK::URL
Now possible in LibWeb now that there is no longer a Web::URL.
This commit is contained in:
parent
f9e5b43b7a
commit
9ce8189f21
156 changed files with 471 additions and 471 deletions
|
@ -23,13 +23,13 @@ QString qstring_from_ak_string(StringView ak_string)
|
|||
return QString::fromUtf8(ak_string.characters_without_null_termination(), static_cast<qsizetype>(ak_string.length()));
|
||||
}
|
||||
|
||||
AK::URL ak_url_from_qstring(QString const& qstring)
|
||||
URL ak_url_from_qstring(QString const& qstring)
|
||||
{
|
||||
auto utf8_data = qstring.toUtf8();
|
||||
return AK::URL(StringView(utf8_data.data(), utf8_data.size()));
|
||||
return URL(StringView(utf8_data.data(), utf8_data.size()));
|
||||
}
|
||||
|
||||
AK::URL ak_url_from_qurl(QUrl const& qurl)
|
||||
URL ak_url_from_qurl(QUrl const& qurl)
|
||||
{
|
||||
return ak_url_from_qstring(qurl.toString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue