mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Use QString literals
It covers src/webui and enables `QT_NO_CAST_FROM_ASCII`.
This commit is contained in:
@@ -112,7 +112,7 @@ void WebUI::configure()
|
||||
|
||||
if (!m_httpServer->isListening())
|
||||
{
|
||||
const auto address = (serverAddressString == "*" || serverAddressString.isEmpty())
|
||||
const auto address = ((serverAddressString == u"*") || serverAddressString.isEmpty())
|
||||
? QHostAddress::Any : QHostAddress(serverAddressString);
|
||||
bool success = m_httpServer->listen(address, m_port);
|
||||
if (success)
|
||||
|
||||
Reference in New Issue
Block a user