summaryrefslogtreecommitdiff
path: root/src/webwindow/webwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow/webwindow.cpp')
-rw-r--r--src/webwindow/webwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp
index adca789e..1ab177ba 100644
--- a/src/webwindow/webwindow.cpp
+++ b/src/webwindow/webwindow.cpp
@@ -85,8 +85,8 @@ WebWindow::WebWindow(QWidget *parent, WebPage *pg)
{
if (pg)
{
- _tab->view()->setPage(pg);
pg->setParent(_tab->view());
+ _tab->view()->setPage(pg);
}
// then, setup our actions