VirtualBox

Ignore:
Timestamp:
Feb 19, 2014 4:14:14 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92352
Message:

HID LEDs sync: more correct QString comparison when deciding to enable sync by default.

File:
1 edited

Legend:

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

    r50490 r50510  
    720720    /** If extra data GUI/HidLedsSync is not present in VM config or set to 1 then sync is enabled. Otherwise, it is disabled. */
    721721    QString strHidLedsSyncSettings = session().GetMachine().GetExtraData(GUI_HidLedsSync);
    722     if (strHidLedsSyncSettings == NULL || strHidLedsSyncSettings == "1")
     722    if (strHidLedsSyncSettings.isEmpty() || strHidLedsSyncSettings == "1")
    723723        return true;
    724724
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