summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-21 12:06:52 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit0f9594f7c43f0b86c634e6f4e92b14fc9783bfee (patch)
tree8caf0c827fc9933edb3be56e790b9355f3014f70 /src/webwindow
parentenable webapp mode by calling "rekonq --webapp URL" :D (diff)
downloadrekonq-0f9594f7c43f0b86c634e6f4e92b14fc9783bfee.tar.xz
Fix new page creation on blank target url click
Diffstat (limited to 'src/webwindow')
-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