diff options
author | Benjamin Poulain <ikipou@gmail.com> | 2010-11-13 16:27:54 +0100 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-11-20 18:52:42 +0100 |
commit | 682a5d24256c920d30c61cef3529f6323f21aafa (patch) | |
tree | 11baf25ed94f24adaf07970731b32afa41cdc0b5 /src/webview.cpp | |
parent | Move download handling from WebView to WebPage (diff) | |
download | rekonq-682a5d24256c920d30c61cef3529f6323f21aafa.tar.xz |
Use QObject cleaning for the destruction of WebView children
The destructor of QObject already destroy the children and
disconnect the object. To reduce code complexity of WebView,
we rely on this mechanism instead of doing manually.
Reviewed by: Pierre Rossi
Reviewed by: Andrea Diamantini
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 980060ef..04677f55 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -114,13 +114,8 @@ WebView::WebView(QWidget* parent) WebView::~WebView() { - delete m_autoScrollTimer; - if (m_smoothScrolling) stopScrolling(); - delete m_smoothScrollTimer; - - disconnect(); WebPage* p = page(); |