VirtualBox

Changeset 99981 in vbox for trunk/src


Ignore:
Timestamp:
May 25, 2023 12:47:46 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157641
Message:

FE/Qt: bugref:10460. build fix.

File:
1 edited

Legend:

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

    r99980 r99981  
    415415    {
    416416       QString strDefaultID = "_64";
    417        const int iIndex = m_pComboType->findData(strDefaultID, TypeID, Qt::MatchContains);
    418        if (iIndex != -1)
    419            m_pComboType->setCurrentIndex(iIndex);
     417       const int iIndexAll = m_pComboType->findData(strDefaultID, TypeID, Qt::MatchContains);
     418       if (iIndexAll != -1)
     419           m_pComboType->setCurrentIndex(iIndexAll);
    420420       else
    421421           m_pComboType->setCurrentIndex(0);
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