diff --git a/src/lib/navigation/locationbar.cpp b/src/lib/navigation/locationbar.cpp index 9035ab9bc..ad57dcf0e 100644 --- a/src/lib/navigation/locationbar.cpp +++ b/src/lib/navigation/locationbar.cpp @@ -343,7 +343,9 @@ void LocationBar::showUrl(const QUrl &url) void LocationBar::updateSiteIcon() { - const QIcon icon = m_webView ? m_webView->icon() : IconProvider::emptyWebIcon(); + QIcon icon = m_webView ? m_webView->icon() : IconProvider::emptyWebIcon(); + if (m_webView && m_webView->url().scheme() == QL1S("https")) + icon = QIcon::fromTheme(QSL("document-encrypted"), icon); m_siteIcon->setIcon(QIcon(icon.pixmap(16))); }