diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-27 17:14:32 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-27 17:14:32 +0100 |
commit | c4d2a284caee4ee68f273f4acd0da3b38510bcd6 (patch) | |
tree | af4e063fc082d41d60b5a4bf8f022aef01479d65 /src/mainwindow.cpp | |
parent | Changed tabbar signals to the KDE ones. (diff) | |
download | rekonq-c4d2a284caee4ee68f273f4acd0da3b38510bcd6.tar.xz |
Fixing (?) close tab action
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c1a1428a..7af0e1e3 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -357,7 +357,7 @@ void MainWindow::setupActions() a = new KAction(KIcon("tab-close"), i18n("&Close Tab"), this); a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_W)); actionCollection()->addAction(QLatin1String("close_tab"), a); - connect(a, SIGNAL(triggered(bool)), m_view, SLOT(slotCloseTab())); + connect(a, SIGNAL(triggered(bool)), m_view->tabBar(), SLOT(closeTab())); a = new KAction(KIcon("tab-duplicate"), i18n("Clone Tab"), this); actionCollection()->addAction(QLatin1String("clone_tab"), a); |