mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Edited showing SSL status on ajax pages
This commit is contained in:
parent
fe1e3806e9
commit
280d421938
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user