1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Edited showing SSL status on ajax pages

This commit is contained in:
nowrep 2011-04-04 16:29:25 +02:00
parent fe1e3806e9
commit 280d421938
2 changed files with 5 additions and 2 deletions

View File

@ -257,7 +257,7 @@ void LocationBar::siteIconChanged()
m_siteIcon->setIcon(QIcon(":icons/locationbar/unknownpage.png"));
} else {
// QIcon icon(*icon_);
m_siteIcon->setIcon(icon_);
m_siteIcon->setIcon(QIcon(icon_.pixmap(16,16)));
}
}

View File

@ -75,7 +75,10 @@ QSslCertificate WebPage::sslCertificate()
// return c;
// }
// return cert;
return m_SslCert;
if (mainFrame()->url().scheme() == "https")
return m_SslCert;
else
return QSslCertificate();
}
bool WebPage::acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest &request, NavigationType type)