VirtualBox

Changeset 107678 in vbox for trunk/src


Ignore:
Timestamp:
Jan 10, 2025 4:08:10 PM (10 days ago)
Author:
vboxsync
Message:

FE/Qt: bugref:3409: Host-combo editor: Fixing parfait warning related to redundant condition check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIHostComboEditor.cpp

    r106349 r107678  
    438438    for (int i = 0; i < encodedKeyList.size(); ++i)
    439439        if (unsigned idxScanCode = UINativeHotKey::modifierToSet1ScanCode(encodedKeyList[i].toInt()))
    440             if (idxScanCode != 0)
    441                 scanCodeList << idxScanCode;
     440            scanCodeList << idxScanCode;
    442441    return scanCodeList;
    443442}
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