summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-10 10:59:09 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-18 11:34:32 +0200
commitba17437a459a638336de7c93f17f793385652399 (patch)
treef55b03828842b0148b1c1ff388dc5b7df9a87ec1 /src/webpage.cpp
parentImproving SSL Widget and Dialog (diff)
downloadrekonq-ba17437a459a638336de7c93f17f793385652399.tar.xz
Improving SSL widget & dialog, step 3
Now they really seem "similar" to the ones provided by Google Chrome and Firefox. They all need further improvements, anyway...
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 45c625e4..9185a25b 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -731,49 +731,7 @@ void WebPage::downloadAllContentsWithKGet(QPoint)
void WebPage::showSSLInfo(QPoint pos)
{
-<<<<<<< HEAD
- if(_sslInfo.isValid())
- {
- QPointer<KSslInfoDialog> dlg = new KSslInfoDialog(view());
- dlg->setSslInfo(_sslInfo.certificateChain(),
- _sslInfo.peerAddress().toString(),
- mainFrame()->url().host(),
- _sslInfo.protocol(),
- _sslInfo.ciphers(),
- _sslInfo.usedChiperBits(),
- _sslInfo.supportedChiperBits(),
- KSslInfoDialog::errorsFromString(_sslInfo.certificateErrors())
- );
-
- dlg->exec();
- delete dlg;
-
- return;
- }
-
- if(mainFrame()->url().scheme() == QL1S("https"))
-=======
-// if (_sslInfo.isValid())
-// {
-// QPointer<KSslInfoDialog> dlg = new KSslInfoDialog(view());
-// dlg->setSslInfo(_sslInfo.certificateChain(),
-// _sslInfo.peerAddress().toString(),
-// mainFrame()->url().host(),
-// _sslInfo.protocol(),
-// _sslInfo.ciphers(),
-// _sslInfo.usedChiperBits(),
-// _sslInfo.supportedChiperBits(),
-// KSslInfoDialog::errorsFromString(_sslInfo.certificateErrors())
-// );
-//
-// dlg->exec();
-// delete dlg;
-//
-// return;
-// }
-//
if (mainFrame()->url().scheme() == QL1S("https"))
->>>>>>> Added SSL Widget, first version
{
SSLWidget *widget = new SSLWidget(mainFrame()->url(), _sslInfo, view());
widget->showAt(pos);