|
|
@ -1160,9 +1160,10 @@ class Browser: public QMainWindow, protected Ui::Browser { |
|
|
|
void sslErrors(QNetworkReply* reply, const QList<QSslError>& errors) { |
|
|
|
void sslErrors(QNetworkReply* reply, const QList<QSslError>& errors) { |
|
|
|
LOG; |
|
|
|
LOG; |
|
|
|
statusBar()->showMessage(tr("ssl error")); |
|
|
|
statusBar()->showMessage(tr("ssl error")); |
|
|
|
// QString e;
|
|
|
|
// QString e;
|
|
|
|
// for (QList<QSslError>::const_iterator err(errors.begin());
|
|
|
|
for (QList<QSslError>::const_iterator err(errors.begin()); |
|
|
|
// err!=errors.end(); ++err)
|
|
|
|
err!=errors.end(); ++err) |
|
|
|
|
|
|
|
LOG<<"SSL-Error: "<<err->errorString(); |
|
|
|
// e+=tr("<li>%1</li>", "single ssl error").arg(err->errorString());
|
|
|
|
// e+=tr("<li>%1</li>", "single ssl error").arg(err->errorString());
|
|
|
|
// _error[sender()] += tr("<h2>%1</h2><p>URL: %4</p><p>%2</p>"
|
|
|
|
// _error[sender()] += tr("<h2>%1</h2><p>URL: %4</p><p>%2</p>"
|
|
|
|
// "<h3>SSL Errors</h3>"
|
|
|
|
// "<h3>SSL Errors</h3>"
|
|
|
|