diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-28 12:04:06 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-28 12:04:06 +0200 |
commit | aec95ee71d1e47580e66cbdc11d61dca815a8d0b (patch) | |
tree | 63dd4c68cff75cc60546b4aca448a5eef36ca3e7 | |
parent | Using my own FindBar, for now.. (diff) | |
download | rekonq-aec95ee71d1e47580e66cbdc11d61dca815a8d0b.tar.xz |
cosmetic
-rw-r--r-- | src/networkaccessmanager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index d0c9833b..7f05bf1c 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -168,7 +168,9 @@ void NetworkAccessManager::slotSSLErrors(QNetworkReply *reply, const QList<QSslE for (int i = 0; i < error.count(); ++i) errorStrings += error.at(i).errorString(); QString errors = errorStrings.join(QLatin1String("\n")); - int ret = KMessageBox::warningContinueCancel(mainWindow, i18n("SSL Errors:\n\n") + reply->url().toString() + "\n\n" + QString(errors) + "\n\n"); + int ret = KMessageBox::warningContinueCancel(mainWindow, + i18n("SSL Errors:\n\n") + reply->url().toString() + "\n\n" + QString(errors) + "\n\n"); + if (ret == KMessageBox::Yes) reply->ignoreSslErrors(); } |