From 68af00437d60528e6dabb78ce4c6c4c4dad03c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 26 Apr 2011 12:18:37 +0000 Subject: [PATCH] log ssl errors; refs #32 --- swisssurfer/src/browser.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/swisssurfer/src/browser.hxx b/swisssurfer/src/browser.hxx index a7ed9bb..c6d77be 100644 --- a/swisssurfer/src/browser.hxx +++ b/swisssurfer/src/browser.hxx @@ -1160,9 +1160,10 @@ class Browser: public QMainWindow, protected Ui::Browser { void sslErrors(QNetworkReply* reply, const QList& errors) { LOG; statusBar()->showMessage(tr("ssl error")); -// QString e; -// for (QList::const_iterator err(errors.begin()); -// err!=errors.end(); ++err) + // QString e; + for (QList::const_iterator err(errors.begin()); + err!=errors.end(); ++err) + LOG<<"SSL-Error: "<errorString(); // e+=tr("
  • %1
  • ", "single ssl error").arg(err->errorString()); // _error[sender()] += tr("

    %1

    URL: %4

    %2

    " // "

    SSL Errors

    "