diff options
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r-- | src/webtab.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp index c049e459..457e9006 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -103,9 +103,14 @@ WebTab::~WebTab() m_walletBar.clear(); m_previewSelectorBar.clear(); + // NOTE: + // Urlbar is reparented when inserted in StackedUrlBar, so we need + // to get sure it will be deleted. Deleting it later to ensure everything + // will be finished before ;) + m_urlBar->deleteLater(); + + // Get sure m_part will be deleted delete m_part; - delete m_urlBar; - delete m_webView; } |