summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index ec838ff4..2da26db7 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -414,9 +414,9 @@ void MainView::cloneTab(int index)
return;
KUrl url = webTab(index)->url();
- QWebHistory * history = webTab(index)->view()->history();
+ QWebHistory* history = webTab(index)->view()->history();
- rApp->loadUrl(url, history, Rekonq::NewTab);
+ rApp->mainWindow()->loadUrl(url, Rekonq::NewTab, history);
}