mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(settings): set default proxy type to None, enabling UDP by default
Fix #5311
This commit is contained in:
parent
7ff1d6053a
commit
a2c44cbeda
|
@ -400,8 +400,7 @@ void Settings::loadPersonal(Profile* profile)
|
||||||
|
|
||||||
ps.beginGroup("Proxy");
|
ps.beginGroup("Proxy");
|
||||||
{
|
{
|
||||||
int type = ps.value("proxyType", static_cast<int>(getProxyType())).toInt();
|
proxyType = static_cast<ProxyType>(ps.value("proxyType", 0 /* ProxyType::None */).toInt());
|
||||||
setProxyType(static_cast<ProxyType>(type));
|
|
||||||
proxyAddr = ps.value("proxyAddr", proxyAddr).toString();
|
proxyAddr = ps.value("proxyAddr", proxyAddr).toString();
|
||||||
proxyPort = static_cast<quint16>(ps.value("proxyPort", proxyPort).toUInt());
|
proxyPort = static_cast<quint16>(ps.value("proxyPort", proxyPort).toUInt());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user