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) {
|
||||
case QNetworkProxy::NoProxy: {
|
||||
QNetworkProxy proxy;
|
||||
proxy.setType(QNetworkProxy::NoProxy);
|
||||
QNetworkProxy::setApplicationProxy(proxy);
|
||||
QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy);
|
||||
break;
|
||||
}
|
||||
case QNetworkProxy::DefaultProxy: {
|
||||
|
|
Loading…
Reference in a new issue