Removed QAuthenticator import

This commit is contained in:
Ian Walker 2017-09-16 17:01:18 +09:00
parent 506ee571b1
commit 9face7567c

View File

@ -24,7 +24,6 @@ import functools
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QUrl, PYQT_VERSION
from PyQt5.QtGui import QPalette
from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage
from PyQt5.QtNetwork import QAuthenticator
from qutebrowser.browser import shared
from qutebrowser.browser.webengine import certificateerror, webenginesettings
@ -149,7 +148,6 @@ class WebEnginePage(QWebEnginePage):
@pyqtSlot(QUrl, 'QAuthenticator*', 'QString')
def _on_proxy_authentication_required(self, url, authenticator, proxyHost):
log.webview.debug("Proxy authentication required for URL: %s"%url.toString())
shared.authentication_required(url, authenticator, [self.shutting_down, self.loadStarted])
@pyqtSlot(QUrl, 'QWebEnginePage::Feature')