1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[LocationBar] Fixed crash in setGoIconVisible. Always check for m_webView

This commit is contained in:
nowrep 2014-03-16 13:56:27 +01:00
parent dbec199ea8
commit 43cb2d6b27

View File

@ -282,7 +282,7 @@ void LocationBar::setGoIconVisible(bool state)
m_goIcon->show(); m_goIcon->show();
} }
else { else {
m_rssIcon->setVisible(m_webView->hasRss()); m_rssIcon->setVisible(m_webView && m_webView->hasRss());
m_bookmarkIcon->show(); m_bookmarkIcon->show();
if (!qzSettings->alwaysShowGoIcon) { if (!qzSettings->alwaysShowGoIcon) {