summaryrefslogtreecommitdiff
path: root/src/webtab/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-01-13 23:30:14 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-13 23:30:14 +0100
commitd9d2c0c13fe330944c4ca1b54a1f46c303037508 (patch)
tree81856576388f7f0459b0c6bb6ce2ec1c88af0c7a /src/webtab/webview.cpp
parentMake Unlink translatable (diff)
downloadrekonq-d9d2c0c13fe330944c4ca1b54a1f46c303037508.tar.xz
Do NOT clean up urlbar on page errors
Diffstat (limited to 'src/webtab/webview.cpp')
-rw-r--r--src/webtab/webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index 4c6520cd..5913d11e 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -166,8 +166,8 @@ void WebView::setPage(WebPage *pg)
KWebView::setPage(pg);
WebWindow *w = m_parentTab->webWindow();
- if (w && w->window())
- pg->setWindow(w->window());
+ if (w)
+ pg->setWindow(w);
}