diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-24 10:15:57 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-24 10:15:57 +0200 |
commit | fc4be6ded391793bd6985464a4e91d42d4242cf1 (patch) | |
tree | ee9158802034cc30bf1d0ead8bdaefea2ecf1935 /src | |
parent | rekonq 0.2.52 (diff) | |
download | rekonq-fc4be6ded391793bd6985464a4e91d42d4242cf1.tar.xz |
Middle click closes tab
Diffstat (limited to 'src')
-rw-r--r-- | src/mainview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index c6be22e9..9dfa797d 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -77,6 +77,8 @@ MainView::MainView(QWidget *parent) // connecting tabbar signals connect(m_tabBar, SIGNAL(closeTab(int)), this, SLOT(slotCloseTab(int))); + connect(m_tabBar, SIGNAL(mouseMiddleClick(int)), this, SIGNAL(slotCloseTab(int))); + connect(m_tabBar, SIGNAL(cloneTab(int)), this, SLOT(slotCloneTab(int))); connect(m_tabBar, SIGNAL(closeOtherTabs(int)), this, SLOT(slotCloseOtherTabs(int))); connect(m_tabBar, SIGNAL(reloadTab(int)), this, SLOT(slotReloadTab(int))); |