From ba17437a459a638336de7c93f17f793385652399 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 10 Jul 2011 10:59:09 +0200 Subject: 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... --- src/webpage.cpp | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'src/webpage.cpp') 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 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 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); -- cgit v1.2.1