Browse Source

Merge pull request #9365 from Chocobo1/qchar

Fix WebUI unreachable issue
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
5f175e113a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/base/preferences.cpp

4
src/base/preferences.cpp

@ -530,7 +530,7 @@ void Preferences::setWebUiAuthSubnetWhitelist(QStringList subnets) @@ -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) @@ -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…
Cancel
Save