VirtualBox

Changeset 55006 in vbox


Ignore:
Timestamp:
Mar 30, 2015 1:15:30 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99279
Message:

HID LEDs sync: avoid LEDs broadcast if host LEDs state was deallocated (Win host).

File:
1 edited

Legend:

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

    r54990 r55006  
    624624        return;
    625625
     626    /* Check if we accidentally trying to manipulate LEDs when host LEDs state was deallocated. */
     627    if (!m_pHostLedsState)
     628        return;
     629
    626630#if defined(Q_WS_MAC)
    627631    DarwinHidDevicesBroadcastLeds(m_pHostLedsState, uisession()->isNumLock(), uisession()->isCapsLock(), uisession()->isScrollLock());
Note: See TracChangeset for help on using the changeset viewer.

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