Skip to content
Browse files

Fix Shift+Tab and ` keys.

Fixes ticket:2561.
  • Loading branch information...
1 parent cc55135 commit e5a4039e8fc0b396f86ca470b475bf04058014d2 @Cyp Cyp committed Mar 21, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/framework/wzapp.cpp
View
4 lib/framework/wzapp.cpp
@@ -512,8 +512,11 @@ void WzMainWindow::realHandleKeyEvent(QKeyEvent *event, bool pressed)
case Qt::Key_Alt : lastKey = setKey(KEY_LALT, pressed); break;
case Qt::Key_AltGr : lastKey = setKey(KEY_RALT, pressed); break;
+ case Qt::Key_Meta : lastKey = setKey(KEY_LMETA, pressed); break;
+
case Qt::Key_Escape : lastKey = setKey(KEY_ESC, pressed); break;
case Qt::Key_Backspace : lastKey = setKey(KEY_BACKSPACE, pressed); break;
+ case Qt::Key_QuoteLeft : lastKey = setKey(KEY_BACKQUOTE, pressed); break;
case Qt::Key_1 : lastKey = setKey(KEY_1, pressed); break;
case Qt::Key_2 : lastKey = setKey(KEY_2, pressed); break;
case Qt::Key_3 : lastKey = setKey(KEY_3, pressed); break;
@@ -526,6 +529,7 @@ void WzMainWindow::realHandleKeyEvent(QKeyEvent *event, bool pressed)
case Qt::Key_0 : lastKey = setKey(KEY_0, pressed); break;
case Qt::Key_Minus : lastKey = setKey(KEY_MINUS, pressed); break;
case Qt::Key_Equal : lastKey = setKey(KEY_EQUALS, pressed); break;
+ case Qt::Key_Backtab:
case Qt::Key_Tab : lastKey = setKey(KEY_TAB, pressed); break;
case Qt::Key_Q : lastKey = setKey(KEY_Q, pressed); break;
case Qt::Key_W : lastKey = setKey(KEY_W, pressed); break;

0 comments on commit e5a4039

Please sign in to comment.
Something went wrong with that request. Please try again.