Revert "fix line length"

This reverts commit def2920a35.
This commit is contained in:
Marc Jauvin 2018-02-03 19:10:19 -05:00
parent a70feae98f
commit 989e60b01f

View File

@ -61,10 +61,8 @@ class ProxyFactory(QNetworkProxyFactory):
""" """
proxy = config.val.content.proxy proxy = config.val.content.proxy
if proxy is configtypes.SYSTEM_PROXY: if proxy is configtypes.SYSTEM_PROXY:
# On Linux, use "export http_proxy=socks5://host:port" # On Linux, use "export http_proxy=socks5://host:port" to manually set system proxy
# to manually set system proxy. # ref. http://doc.qt.io/qt-5/qnetworkproxyfactory.html#systemProxyForQuery
# ref. http://doc.qt.io/qt-5/qnetworkproxyfactory.html
# look under the systemProxyForQuery() call
proxies = QNetworkProxyFactory.systemProxyForQuery(query) proxies = QNetworkProxyFactory.systemProxyForQuery(query)
elif isinstance(proxy, pac.PACFetcher): elif isinstance(proxy, pac.PACFetcher):
proxies = proxy.resolve(query) proxies = proxy.resolve(query)