diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-17 00:46:05 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-24 01:33:59 +0200 |
commit | 7cd00f6764a775934394ac9ee92b2393e5928f50 (patch) | |
tree | 1054cf65920aa72316b1922d2f6bfadd2f3c995b /src/mainwindow.cpp | |
parent | Add icons for "history panel" and "page source" items (diff) | |
download | rekonq-7cd00f6764a775934394ac9ee92b2393e5928f50.tar.xz |
Definitely fixing rekonq API. First step.
newTab function in MainView
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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()) |