diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-07-18 11:44:02 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-18 11:44:02 +0200 |
commit | 38bca2f01a9bf8663f56b45b2cec2e9cf00ffa85 (patch) | |
tree | 3a8c1b0a6da2accb1c0b56a4d4cf9b51ce4f22ae /src/webpage.cpp | |
parent | Last fixes for the SSL dialog improvements (diff) | |
download | rekonq-38bca2f01a9bf8663f56b45b2cec2e9cf00ffa85.tar.xz |
style cleanup
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 95d7b6ae..35c1eb54 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -557,8 +557,8 @@ void WebPage::manageNetworkErrors(QNetworkReply *reply) kDebug() << "IS MAIN FRAME? " << isMainFrameRequest; kDebug() << "LOADING URL: " << _loadingUrl; kDebug() << "IS URL FRAME LOADING " << isUrlFrameLoading; - - if (isMainFrameRequest + + if(isMainFrameRequest && _sslInfo.isValid() && !domainSchemeMatch(reply->url(), _sslInfo.url()) ) @@ -731,10 +731,10 @@ void WebPage::downloadAllContentsWithKGet(QPoint) void WebPage::showSSLInfo(QPoint pos) { - if (mainFrame()->url().scheme() == QL1S("https")) + if(mainFrame()->url().scheme() == QL1S("https")) { SSLWidget *widget = new SSLWidget(mainFrame()->url(), _sslInfo, view()); - widget->showAt(pos); + widget->showAt(pos); } else { @@ -769,7 +769,7 @@ bool WebPage::hasSslValid() { bool v = true; QList<QSslCertificate> certList = _sslInfo.certificateChain(); - Q_FOREACH(const QSslCertificate &cert, certList) + Q_FOREACH(const QSslCertificate & cert, certList) { v &= cert.isValid(); } |