summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/urlbar/urlbar.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 20b978f5..75287ad7 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -165,6 +165,8 @@ MainWindow::MainWindow()
MainWindow::~MainWindow()
{
+ m_hidePopupTimer->stop();
+
rApp->bookmarkProvider()->removeBookmarkBar(m_bookmarksBar);
rApp->bookmarkProvider()->removeBookmarkPanel(m_bookmarksPanel);
rApp->removeMainWindow(this);
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 18ed9aaf..f3ed9c3e 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -122,6 +122,7 @@ UrlBar::UrlBar(QWidget *parent)
UrlBar::~UrlBar()
{
+ _suggestionTimer->stop();
activateSuggestions(false);
_box.clear();
}