VirtualBox

Changeset 50687 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 4, 2014 7:36:08 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92631
Message:

HID LEDs sync: reverted r92623: now feature is enabled by default again (trunk only).

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIExtraDataEventHandler.cpp

    r50684 r50687  
    103103                /* If extra data GUI/HidLedsSync is not present in VM config or set
    104104                 * to 1 then sync is enabled. Otherwise, it is disabled. */
    105 
    106                 /* (temporary disabled by default) */
    107                 bool f = (strValue == "1") ? true : false;
     105                bool f = (strValue.isEmpty() || strValue == "1") ? true : false;
    108106                emit sigHidLedsSyncStateChanged(f);
    109107            }
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r50684 r50687  
    662662    /* If extra data GUI/HidLedsSync is not present in VM config or set
    663663     * to 1 then sync is enabled. Otherwise, it is disabled. */
    664 
    665     /* (temporary disabled by default) */
    666     if (strHidLedsSyncSettings == "1")
     664    if (strHidLedsSyncSettings.isEmpty() || strHidLedsSyncSettings == "1")
    667665        m_isHidLedsSyncEnabled = true;
    668666    else
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