connect proxy authentication; refs #161

This commit is contained in:
Marc Wäckerlin
2012-09-21 13:22:30 +00:00
parent 96718fd0bf
commit bcc95090db

View File

@@ -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<QSslError>&)),
SLOT(sslErrors(QNetworkReply*, const QList<QSslError>&))));
@@ -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<QSslError>& errors) {
TRC;
statusBar()->showMessage(tr("ssl error"));