diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 12:36:08 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 12:36:08 +0200 |
commit | 0879e9b8526783505ffc63a74c588fd1abb015c6 (patch) | |
tree | a680780cfddea40c4cf1cc11195d26a107fb1736 /src/webview.cpp | |
parent | View image action (diff) | |
download | rekonq-0879e9b8526783505ffc63a74c588fd1abb015c6.tar.xz |
General (shift +) ctrl tab switch management.
This let tab switch work also when webview is not focused :)
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 88c0e664..f4e41301 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -314,24 +314,6 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) } -void WebView::keyPressEvent(QKeyEvent *event) -{ - if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_Tab)) - { - emit ctrlTabPressed(); - return; - } - - if ((event->modifiers() == Qt::ControlModifier + Qt::ShiftModifier) && (event->key() == Qt::Key_Backtab)) - { - emit shiftCtrlTabPressed(); - return; - } - - QWebView::keyPressEvent(event); -} - - void WebView::mousePressEvent(QMouseEvent *event) { m_page->m_pressedButtons = event->buttons(); |