Changeset 35800 in vbox
- Timestamp:
- Jan 31, 2011 6:20:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHotKeyEditor.cpp
r35799 r35800 406 406 int iKeyCode = UIHotKey::distinguishModifierVKey((int)pMsg->wParam, (int)pMsg->lParam); 407 407 408 /* Process the key event */408 /* Process the key event: */ 409 409 return processKeyEvent(iKeyCode, pMsg->message == WM_KEYDOWN || pMsg->message == WM_SYSKEYDOWN); 410 410 } … … 430 430 int iKeySym = (int)ks; 431 431 432 /* Process the key event */432 /* Process the key event: */ 433 433 return processKeyEvent(iKeySym, pEvent->type == XKeyPress); 434 434 } 435 default: 436 break; 435 437 } 436 438 … … 478 480 unsigned iKeyCode = ::DarwinModifierMaskToDarwinKeycode(changed); 479 481 482 /* Process the key event: */ 480 483 if (processKeyEvent(iKeyCode, changed & modifierMask)) 481 484 { … … 486 489 break; 487 490 } 491 default: 492 break; 488 493 } 489 494 return false;
Note:
See TracChangeset
for help on using the changeset viewer.