mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
NavigationBar: Clear current webview for all tool buttons
Fixes another crash similar to #2537
This commit is contained in:
parent
4dd67cfce6
commit
5dfe6d862c
@ -189,6 +189,11 @@ NavigationBar::NavigationBar(BrowserWindow* window)
|
||||
loadSettings();
|
||||
}
|
||||
|
||||
NavigationBar::~NavigationBar()
|
||||
{
|
||||
setCurrentView(nullptr);
|
||||
}
|
||||
|
||||
void NavigationBar::setSplitterSizes(int locationBar, int websearchBar)
|
||||
{
|
||||
QList<int> sizes;
|
||||
|
@ -43,6 +43,7 @@ class FALKON_EXPORT NavigationBar : public QWidget
|
||||
|
||||
public:
|
||||
explicit NavigationBar(BrowserWindow* window);
|
||||
~NavigationBar();
|
||||
|
||||
void setSplitterSizes(int locationBar, int websearchBar);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user