metasearch: ignore proxy settings != HttpProxy

This commit is contained in:
Juergen E. Fischer 2014-05-17 21:02:01 +02:00
parent 7c75ffa3b0
commit 48ed1cf5a2

View File

@ -865,6 +865,8 @@ class MetaSearchDialog(QDialog, Ui_MetaSearchDialog):
if self.settings.value('/proxy/proxyEnabled') == 'true':
if self.settings.value('/proxy/proxyType') == 'HttpProxy':
ptype = 'http'
else:
return
user = self.settings.value('/proxy/proxyUser')
password = self.settings.value('/proxy/proxyPassword')