summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-28 10:03:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-28 10:03:58 +0200
commit0c0d4ef4e837e43785a300317a37039cfc46b177 (patch)
tree13e648c7d7d4b24627a4e37c1b868443a6bb0e99 /src/webview.cpp
parentworking on error messages & openLinkInNewTab slot (diff)
downloadrekonq-0c0d4ef4e837e43785a300317a37039cfc46b177.tar.xz
Fixing loadInNewTab slot
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 4f6ba097..216c2bd1 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -220,8 +220,8 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
void WebView::openLinkInNewTab(const KUrl &url)
{
- Application::instance()->newWebView();
- load(url);
+ WebView *that = Application::instance()->newWebView();
+ that->load(url);
}