diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-12-17 16:49:15 +0100 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-12-17 16:49:15 +0100 |
commit | a0245069cf175d4657913e4cbf2898fe4e31281f (patch) | |
tree | bb52cd481d4678764590cf5824913eb7420e93bf /src/webtab.cpp | |
parent | not sure about this.. (diff) | |
download | rekonq-a0245069cf175d4657913e4cbf2898fe4e31281f.tar.xz |
fix crashes webtabs
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r-- | src/webtab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp index a39abaf2..80c43c78 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -61,7 +61,7 @@ WebTab::WebTab(QWidget* parent) : QWidget(parent) - , m_view( new WebView(parent) ) + , m_view( new WebView(this) ) , m_progress(0) { QVBoxLayout* l = new QVBoxLayout(this); @@ -98,6 +98,7 @@ WebTab::WebTab(QWidget* parent) WebTab::~WebTab() { + delete m_view; } |