Changeset 35821 in vbox
- Timestamp:
- Feb 2, 2011 12:55:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHotKeyEditor.cpp
r35800 r35821 182 182 183 183 #ifdef Q_WS_MAC 184 if (!iKeyCode || iKeyCode == ~0U)185 return false;186 187 184 UInt32 modMask = ::DarwinKeyCodeToDarwinModifierMask(iKeyCode); 188 185 switch (modMask) … … 478 475 479 476 /* Convert to keycode: */ 480 unsigned iKeyCode = ::DarwinModifierMaskToDarwinKeycode(changed); 477 unsigned uKeyCode = ::DarwinModifierMaskToDarwinKeycode(changed); 478 479 if (!uKeyCode || uKeyCode == ~0U) 480 return false; 481 481 482 482 /* Process the key event: */ 483 if (processKeyEvent( iKeyCode, changed & modifierMask))483 if (processKeyEvent(uKeyCode, changed & modifierMask)) 484 484 { 485 485 /* Save the new modifier mask state. */
Note:
See TracChangeset
for help on using the changeset viewer.