Make code more readable.

This commit is contained in:
Daniel Molkentin 2012-10-09 10:10:41 +02:00
parent 861a66f8cb
commit a8d6c083e3

View file

@ -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: {