mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Make code more readable.
This commit is contained in:
parent
861a66f8cb
commit
a8d6c083e3
1 changed files with 1 additions and 3 deletions
|
@ -476,9 +476,7 @@ void Application::setupProxy()
|
||||||
|
|
||||||
switch(proxy) {
|
switch(proxy) {
|
||||||
case QNetworkProxy::NoProxy: {
|
case QNetworkProxy::NoProxy: {
|
||||||
QNetworkProxy proxy;
|
QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy);
|
||||||
proxy.setType(QNetworkProxy::NoProxy);
|
|
||||||
QNetworkProxy::setApplicationProxy(proxy);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case QNetworkProxy::DefaultProxy: {
|
case QNetworkProxy::DefaultProxy: {
|
||||||
|
|
Loading…
Reference in a new issue