summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-06-13 23:14:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-06-13 23:14:21 +0200
commit7dff8ec8da795298c1d79e0fdd06f41f725a13aa (patch)
tree9dd1756a975fe0a686741a992852c32dc7b6bb02 /src
parentMinor clean up in App ctor (diff)
downloadrekonq-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.cpp4
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)));