mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[SBI_NetworkIcon] Fixed saving proxies other than NoProxy.
This commit is contained in:
parent
63dfa9a422
commit
6da4e14bae
|
@ -54,13 +54,13 @@ SBI_NetworkProxy* SBI_ProxyWidget::getProxy() const
|
||||||
proxy->setPreference(NetworkProxyFactory::NoProxy);
|
proxy->setPreference(NetworkProxyFactory::NoProxy);
|
||||||
}
|
}
|
||||||
else if (ui->systemProxy->isChecked()) {
|
else if (ui->systemProxy->isChecked()) {
|
||||||
proxy->setPreference(NetworkProxyFactory::NoProxy);
|
proxy->setPreference(NetworkProxyFactory::SystemProxy);
|
||||||
}
|
}
|
||||||
else if (ui->manualProxy->isChecked()) {
|
else if (ui->manualProxy->isChecked()) {
|
||||||
proxy->setPreference(NetworkProxyFactory::NoProxy);
|
proxy->setPreference(NetworkProxyFactory::DefinedProxy);
|
||||||
}
|
}
|
||||||
else if (ui->pacProxy->isChecked()) {
|
else if (ui->pacProxy->isChecked()) {
|
||||||
proxy->setPreference(NetworkProxyFactory::NoProxy);
|
proxy->setPreference(NetworkProxyFactory::ProxyAutoConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
return proxy;
|
return proxy;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user