summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-12-17 16:49:15 +0100
committermegabigbug <megabigbug@arrakis.(none)>2009-12-17 16:49:15 +0100
commita0245069cf175d4657913e4cbf2898fe4e31281f (patch)
treebb52cd481d4678764590cf5824913eb7420e93bf /src/webtab.cpp
parentnot sure about this.. (diff)
downloadrekonq-a0245069cf175d4657913e4cbf2898fe4e31281f.tar.xz
fix crashes webtabs
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp3
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;
}