mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Merge pull request #9365 from Chocobo1/qchar
Fix WebUI unreachable issue
This commit is contained in:
commit
5f175e113a
@ -530,7 +530,7 @@ void Preferences::setWebUiAuthSubnetWhitelist(QStringList subnets)
|
||||
|
||||
QString Preferences::getServerDomains() const
|
||||
{
|
||||
return value("Preferences/WebUI/ServerDomains", '*').toString();
|
||||
return value("Preferences/WebUI/ServerDomains", QChar('*')).toString();
|
||||
}
|
||||
|
||||
void Preferences::setServerDomains(const QString &str)
|
||||
@ -540,7 +540,7 @@ void Preferences::setServerDomains(const QString &str)
|
||||
|
||||
QString Preferences::getWebUiAddress() const
|
||||
{
|
||||
return value("Preferences/WebUI/Address", '*').toString().trimmed();
|
||||
return value("Preferences/WebUI/Address", QChar('*')).toString().trimmed();
|
||||
}
|
||||
|
||||
void Preferences::setWebUiAddress(const QString &addr)
|
||||
|
Loading…
Reference in New Issue
Block a user