diff options
-rw-r--r-- | src/mainview.cpp | 2 | ||||
-rw-r--r-- | src/mainview.h | 4 | ||||
-rw-r--r-- | src/mainwindow.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 9dbf800b..d4edeb19 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -341,7 +341,7 @@ WebView *MainView::newWebView(Rekonq::OpenType type) switch(type) { case Rekonq::Default: - if (makeTabCurrent) + if (!m_makeBackTab) { setCurrentWidget(webView); // this method does NOT take ownership of webView urlBar->setFocus(); diff --git a/src/mainview.h b/src/mainview.h index 75242fef..372902dd 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -75,7 +75,7 @@ public: WebView *currentWebView() const { return webView(currentIndex()); } int webViewIndex(WebView *webView) const { return indexOf(webView); } KAction *recentlyClosedTabsAction() const { return m_recentlyClosedTabsAction; } - void setMakeTabCurrent( bool b) { makeTabCurrent = b; } + void setMakeBackTab(bool b) { m_makeBackTab = b; } /** * show and hide TabBar if user doesn't choose @@ -192,7 +192,7 @@ private: QString m_loadingGitPath; - bool makeTabCurrent; + bool m_makeBackTab; }; #endif diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 8426bb94..94e4dd11 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -352,7 +352,7 @@ void MainWindow::slotUpdateConfiguration() // ============== General ================== m_homePage = ReKonfig::homePage(); mainView()->showTabBar(); - mainView()->setMakeTabCurrent( ReKonfig::openTabsBack() ); + mainView()->setMakeBackTab( ReKonfig::openTabsBack() ); // =========== Fonts ============== QWebSettings *defaultSettings = QWebSettings::globalSettings(); |