VirtualBox

Changeset 30649 in vbox


Ignore:
Timestamp:
Jul 6, 2010 8:38:11 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r30642 r30649  
    690690                /* If keyboard event handler is NOT currently installed;
    691691                 * Or installed but NOT for that window: */
    692                 if (m_iKeyboardGrabViewIndex != uScreenId)
     692                if (m_iKeyboardGrabViewIndex != (int)uScreenId)
    693693                {
    694694                    /* If keyboard event handler is NOT currently installed: */
     
    706706            {
    707707                /* If keyboard event handler is installed exactly for that window: */
    708                 if (m_iKeyboardGrabViewIndex == uScreenId)
     708                if (m_iKeyboardGrabViewIndex == (int)uScreenId)
    709709                {
    710710                    /* Remove the keyboard event handler: */
     
    883883                                                                UIKeyboardHandler::darwinEventHandlerProc, this);
    884884
    885         ::DarwinGrabKeyboard(false);
     885        ::DarwinGrabKeyboard (false);
    886886    }
    887887    else
     
    907907    if (eventClass == kEventClassKeyboard)
    908908    {
    909         if (pKeyboardHandler->darwinKeyboardEvent(pvCocoaEvent, inEvent))
     909        if (pKeyboardHandler->darwinKeyboardEvent (pvCocoaEvent, inEvent))
    910910            return true;
    911911    }
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