diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-07-04 16:15:50 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-07-04 16:15:50 +0200 |
commit | 3b351d7a17dbfa75dfe8521b9611a98efb34fd6e (patch) | |
tree | 28f8e5b890ac21155263c2e23183e87b40420f02 /src/application.cpp | |
parent | fix tab preview when tab has never been focused. (old bug, fixed, reintroduce... (diff) | |
download | rekonq-3b351d7a17dbfa75dfe8521b9611a98efb34fd6e.tar.xz |
Clean MainView API and fix "Pano's bug" about opening new tabs near current ons
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp index e58e8843..5b98fafa 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -366,7 +366,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) { case Rekonq::NewTab: if( ReKonfig::openTabNoWindow() ) - tab = w->mainView()->newWebTab(!ReKonfig::openTabsBack(), ReKonfig::openTabsNearCurrent()); + tab = w->mainView()->newWebTab( !ReKonfig::openTabsBack() ); else { w = newMainWindow(); @@ -377,7 +377,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) tab = w->mainView()->newWebTab(true); break; case Rekonq::NewBackTab: - tab = w->mainView()->newWebTab(false, ReKonfig::openTabsNearCurrent()); + tab = w->mainView()->newWebTab(false); break; case Rekonq::NewWindow: case Rekonq::CurrentTab: |