diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-06-13 23:14:21 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-06-13 23:14:21 +0200 |
commit | 7dff8ec8da795298c1d79e0fdd06f41f725a13aa (patch) | |
tree | 9dd1756a975fe0a686741a992852c32dc7b6bb02 /src | |
parent | Minor clean up in App ctor (diff) | |
download | rekonq-7dff8ec8da795298c1d79e0fdd06f41f725a13aa.tar.xz |
Fix ambiguous tab shortcuts
See comment #2 about the fix (Thanks, Weng!)
BUG: 275858
Diffstat (limited to 'src')
-rw-r--r-- | src/tabbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 2d384122..39dd7f74 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -51,6 +51,7 @@ #include <KMenu> #include <KToolBar> #include <KColorScheme> +#include <KAcceleratorManager> // Qt Includes #include <QLabel> @@ -88,6 +89,9 @@ TabBar::TabBar(QWidget *parent) setContextMenuPolicy(Qt::CustomContextMenu); + // avoid ambiguos shortcuts. See BUG:275858 + KAcceleratorManager::setNoAccel(this); + connect(this, SIGNAL(contextMenu(int, QPoint)), this, SLOT(contextMenu(int, QPoint))); connect(this, SIGNAL(emptyAreaContextMenu(QPoint)), this, SLOT(emptyAreaContextMenu(QPoint))); |