diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainview.cpp | 11 | 
1 files changed, 3 insertions, 8 deletions
| diff --git a/src/mainview.cpp b/src/mainview.cpp index 1f252696..a771e3d7 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -439,15 +439,10 @@ void MainView::cloneTab(int index)      if (index < 0 || index >= count())          return; -    WebTab *tab = newWebTab();      KUrl url = webTab(index)->url(); - -    // workaround against bug in webkit: -    // only set url if it is not empty -    // otherwise the current working directory will be used -    if (!url.isEmpty()) -        tab->view()->setUrl(url); - +     +    Application::instance()->loadUrl(url, Rekonq::NewTab); +          updateTabBar();  } | 
