diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-03-23 21:52:10 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-03-23 21:52:10 +0100 |
commit | 8eef7ab62aefcebfa0242ed1f7a402df84ba995e (patch) | |
tree | ece0491d19eb6b14e12b1df425ab9d77c8eea1bd /src | |
parent | Fixup for last commit. (diff) | |
download | rekonq-8eef7ab62aefcebfa0242ed1f7a402df84ba995e.tar.xz |
Stop timers before deleting objects.
CCBUG:268328
CCBUG:266937
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/urlbar/urlbar.cpp | 1 |
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(); } |