mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Use QString literals
This patch covers src/app and src/base folders.
Follow up of ab64ee872b.
This commit is contained in:
@@ -71,9 +71,9 @@ QString Utils::String::wildcardToRegexPattern(const QString &pattern)
|
||||
|
||||
std::optional<bool> Utils::String::parseBool(const QString &string)
|
||||
{
|
||||
if (string.compare("true", Qt::CaseInsensitive) == 0)
|
||||
if (string.compare(u"true", Qt::CaseInsensitive) == 0)
|
||||
return true;
|
||||
if (string.compare("false", Qt::CaseInsensitive) == 0)
|
||||
if (string.compare(u"false", Qt::CaseInsensitive) == 0)
|
||||
return false;
|
||||
|
||||
return std::nullopt;
|
||||
|
||||
Reference in New Issue
Block a user