diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-28 10:03:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-28 10:03:58 +0200 |
commit | 0c0d4ef4e837e43785a300317a37039cfc46b177 (patch) | |
tree | 13e648c7d7d4b24627a4e37c1b868443a6bb0e99 | |
parent | working on error messages & openLinkInNewTab slot (diff) | |
download | rekonq-0c0d4ef4e837e43785a300317a37039cfc46b177.tar.xz |
Fixing loadInNewTab slot
-rw-r--r-- | src/webview.cpp | 4 |
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); } |