mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 21:14:37 +03:00
refactor: replace non-empty QString constructors with QStringLiteral()
This commit is contained in:
@@ -13,7 +13,7 @@ namespace NekoGui_fmt {
|
||||
url.setScheme("http");
|
||||
}
|
||||
} else {
|
||||
url.setScheme(QString("socks%1").arg(socks_http_type));
|
||||
url.setScheme(QStringLiteral("socks%1").arg(socks_http_type));
|
||||
}
|
||||
if (!name.isEmpty()) url.setFragment(name);
|
||||
if (!username.isEmpty()) url.setUserName(username);
|
||||
@@ -222,4 +222,4 @@ namespace NekoGui_fmt {
|
||||
return url.toString(QUrl::FullyEncoded);
|
||||
}
|
||||
|
||||
} // namespace NekoGui_fmt
|
||||
} // namespace NekoGui_fmt
|
||||
|
||||
Reference in New Issue
Block a user