mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[LocationBar] Always show site icon in 16x16px
This commit is contained in:
parent
e6baa54179
commit
f9f74f3642
|
@ -324,14 +324,8 @@ void LocationBar::showUrl(const QUrl &url)
|
|||
|
||||
void LocationBar::updateSiteIcon()
|
||||
{
|
||||
const QIcon icn = m_webView ? m_webView->icon() : QIcon();
|
||||
|
||||
if (icn.isNull()) {
|
||||
m_siteIcon->setIcon(IconProvider::emptyWebIcon());
|
||||
}
|
||||
else {
|
||||
m_siteIcon->setIcon(QIcon(icn.pixmap(16, 16)));
|
||||
}
|
||||
const QIcon icon = m_webView ? m_webView->icon() : IconProvider::emptyWebIcon();
|
||||
m_siteIcon->setIcon(QIcon(icon.pixmap(16, 16)));
|
||||
}
|
||||
|
||||
void LocationBar::setPrivacyState(bool state)
|
||||
|
|
Loading…
Reference in New Issue
Block a user