connect proxy authentication; refs #161
This commit is contained in:
@@ -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"));
|
||||
|
Reference in New Issue
Block a user