Changeset 35744 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 27, 2011 4:31:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r35740 r35744 311 311 312 312 #ifdef Q_WS_MAC 313 // TODO: To NaN: Please fix: 314 // /* Clear most of the modifiers: */ 315 // m_darwinKeyModifiers &= 316 // alphaLock | kEventKeyModifierNumLockMask | 317 // (aReleaseHostKey ? 0 : ::DarwinKeyCodeToDarwinModifierMask(m_globalSettings.hostKey())); 313 unsigned int hostComboModifierMask = 0; 314 QList<int> hostCombo = UIHotKeyCombination::toKeyCodeList(m_globalSettings.hostCombo()); 315 for (int i = 0; i < hostCombo.size(); ++i) 316 hostComboModifierMask |= ::DarwinKeyCodeToDarwinModifierMask(hostCombo.at(i)); 317 /* Clear most of the modifiers: */ 318 m_darwinKeyModifiers &= 319 alphaLock | kEventKeyModifierNumLockMask | 320 (aReleaseHostKey ? 0 : hostComboModifierMask); 318 321 #endif 319 322
Note:
See TracChangeset
for help on using the changeset viewer.