VirtualBox

Changeset 35904 in vbox


Ignore:
Timestamp:
Feb 9, 2011 8:31:33 AM (14 years ago)
Author:
vboxsync
Message:

gcc warning

File:
1 edited

Legend:

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

    r35866 r35904  
    11331133    bool fIsFullHostComboPresent = allHostComboKeys == m_pressedHostComboKeys.keys().toSet();
    11341134    /* Check if currently pressed/released key had changed host-combo state: */
    1135     const bool isHostComboStateChanged = (!m_bIsHostComboPressed && fIsFullHostComboPresent) ||
    1136                                          (m_bIsHostComboPressed && !fIsFullHostComboPresent);
     1135    const bool isHostComboStateChanged = (!m_bIsHostComboPressed &&  fIsFullHostComboPresent) ||
     1136                                         ( m_bIsHostComboPressed && !fIsFullHostComboPresent);
    11371137
    11381138#ifdef Q_WS_WIN
     
    11731173    LONG *pCodes = aCodesBuffer;
    11741174    uint uCodesCount = 0;
    1175     if (!m_bIsHostComboPressed && !isHostComboStateChanged ||
    1176         m_bIsHostComboPressed && isHostComboStateChanged)
     1175    if ((!m_bIsHostComboPressed && !isHostComboStateChanged) ||
     1176        ( m_bIsHostComboPressed &&  isHostComboStateChanged))
    11771177    {
    11781178        /* Special flags handling (KeyPrint): */
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