summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
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;
}