diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-25 23:00:27 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-25 23:00:27 +0100 |
commit | b72b81dbd55d8176b1ba81dce11f0e155645c996 (patch) | |
tree | f69a395019e61c4abee3e05aba82e688f9fc63da /src/mainwindow.cpp | |
parent | Remove F6 and use ALT + D as secondary shorcut to open location (diff) | |
download | rekonq-b72b81dbd55d8176b1ba81dce11f0e155645c996.tar.xz |
accept CTRL + TAB events
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 16f1e92a..9cd56daa 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1173,6 +1173,7 @@ void MainWindow::keyPressEvent(QKeyEvent *event) if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_Tab)) { emit ctrlTabPressed(); + event->accept(); return; } @@ -1180,6 +1181,7 @@ void MainWindow::keyPressEvent(QKeyEvent *event) if ((event->modifiers() == Qt::ControlModifier + Qt::ShiftModifier) && (event->key() == Qt::Key_Backtab)) { emit shiftCtrlTabPressed(); + event->accept(); return; } @@ -1214,6 +1216,7 @@ bool MainWindow::event(QEvent *event) } } } + return KMainWindow::event(event); } |