log ssl errors; refs #32
This commit is contained in:
@@ -1160,9 +1160,10 @@ class Browser: public QMainWindow, protected Ui::Browser {
|
||||
void sslErrors(QNetworkReply* reply, const QList<QSslError>& errors) {
|
||||
LOG;
|
||||
statusBar()->showMessage(tr("ssl error"));
|
||||
// QString e;
|
||||
// for (QList<QSslError>::const_iterator err(errors.begin());
|
||||
// err!=errors.end(); ++err)
|
||||
// QString e;
|
||||
for (QList<QSslError>::const_iterator err(errors.begin());
|
||||
err!=errors.end(); ++err)
|
||||
LOG<<"SSL-Error: "<<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>"
|
||||
// "<h3>SSL Errors</h3>"
|
||||
|
Reference in New Issue
Block a user