VirtualBox

Changeset 35800 in vbox


Ignore:
Timestamp:
Jan 31, 2011 6:20:44 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Just some coding-style for UIHotKeyEditor class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHotKeyEditor.cpp

    r35799 r35800  
    406406            int iKeyCode = UIHotKey::distinguishModifierVKey((int)pMsg->wParam, (int)pMsg->lParam);
    407407
    408             /* Process the key event */
     408            /* Process the key event: */
    409409            return processKeyEvent(iKeyCode, pMsg->message == WM_KEYDOWN || pMsg->message == WM_SYSKEYDOWN);
    410410        }
     
    430430            int iKeySym = (int)ks;
    431431
    432             /* Process the key event */
     432            /* Process the key event: */
    433433            return processKeyEvent(iKeySym, pEvent->type == XKeyPress);
    434434        }
     435        default:
     436            break;
    435437    }
    436438
     
    478480            unsigned iKeyCode = ::DarwinModifierMaskToDarwinKeycode(changed);
    479481
     482            /* Process the key event: */
    480483            if (processKeyEvent(iKeyCode, changed & modifierMask))
    481484            {
     
    486489            break;
    487490        }
     491        default:
     492            break;
    488493    }
    489494    return false;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette