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