From 7cd00f6764a775934394ac9ee92b2393e5928f50 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 17 Jul 2009 00:46:05 +0200 Subject: Definitely fixing rekonq API. First step. newTab function in MainView --- src/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 471a469a..54f72e61 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -304,7 +304,7 @@ void MainWindow::setupActions() a = new KAction(KIcon("tab-new"), i18n("New &Tab"), this); a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_T, Qt::CTRL + Qt::Key_N)); actionCollection()->addAction(QLatin1String("new_tab"), a); - connect(a, SIGNAL(triggered(bool)), m_view, SLOT(newWebView())); + connect(a, SIGNAL(triggered(bool)), m_view, SLOT(newTab())); a = new KAction(KIcon("tab-close"), i18n("&Close Tab"), this); a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_W)); @@ -386,7 +386,6 @@ void MainWindow::slotUpdateConfiguration() // ============== General ================== m_homePage = ReKonfig::homePage(); mainView()->showTabBar(); - mainView()->setMakeBackTab( ReKonfig::openTabsBack() ); // "status bar" messages (new notifyMessage system) if(ReKonfig::showUrlsPopup()) -- cgit v1.2.1