diff --git a/src/browser.hxx b/src/browser.hxx index b66cba8..c299e1b 100644 --- a/src/browser.hxx +++ b/src/browser.hxx @@ -570,8 +570,9 @@ class Browser: public QMainWindow, protected Ui::Browser { assert(connect(browser->page()->networkAccessManager(), SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)), + &_proxy, SLOT(proxyAuthenticationRequired(const QNetworkProxy&, - QAuthenticator*)))); + QAuthenticator*)))); assert(connect(browser->page()->networkAccessManager(), SIGNAL(sslErrors(QNetworkReply*, const QList&)), SLOT(sslErrors(QNetworkReply*, const QList&)))); @@ -1470,11 +1471,6 @@ class Browser: public QMainWindow, protected Ui::Browser { if (auth.exec()==QDialog::Rejected) reply->abort(); } - void proxyAuthenticationRequired(const QNetworkProxy& proxy, - QAuthenticator* authenticator) { - TRC; - } - void sslErrors(QNetworkReply* reply, const QList& errors) { TRC; statusBar()->showMessage(tr("ssl error"));