VirtualBox

Changeset 50301 in vbox for trunk


Ignore:
Timestamp:
Jan 31, 2014 1:11:11 PM (11 years ago)
Author:
vboxsync
Message:

GUI: HID LEDs sunc: enable by default.

File:
1 edited

Legend:

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

    r50299 r50301  
    694694bool UIMachineLogic::isHidLedsSyncEnabled()
    695695{
     696    /** If extra data GUI/HidLedsSync is not present in VM config or set to 1 then sync is enabled. Otherwise, it is disabled. */
    696697    QString strHidLedsSyncSettings = session().GetMachine().GetExtraData(GUI_HidLedsSync);
    697     if (strHidLedsSyncSettings == "1")
     698    if (strHidLedsSyncSettings == NULL || strHidLedsSyncSettings == "1")
    698699        return true;
     700
    699701    return false;
    700702}
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