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:
parent
dbec199ea8
commit
43cb2d6b27
|
@ -282,7 +282,7 @@ void LocationBar::setGoIconVisible(bool state)
|
|||
m_goIcon->show();
|
||||
}
|
||||
else {
|
||||
m_rssIcon->setVisible(m_webView->hasRss());
|
||||
m_rssIcon->setVisible(m_webView && m_webView->hasRss());
|
||||
m_bookmarkIcon->show();
|
||||
|
||||
if (!qzSettings->alwaysShowGoIcon) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user