VirtualBox

Ignore:
Timestamp:
Jul 13, 2018 3:50:49 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123715
Message:

FE/Qt: bugref:9206: Adjusting UIIconPool to not overreact to unknown guest OS types.

File:
1 edited

Legend:

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

    r72711 r73127  
    469469        if (m_guestOSTypeIconNames.contains(strOSTypeID))
    470470            m_guestOSTypeIcons[strOSTypeID] = iconSet(m_guestOSTypeIconNames[strOSTypeID]);
     471        /* Assign fallback icon if we do NOT have that 'guest OS type' registered: */
     472        else if (!strOSTypeID.isNull())
     473            m_guestOSTypeIcons[strOSTypeID] = iconSet(m_guestOSTypeIconNames["Other"]);
    471474        /* Assign fallback icon if we do NOT have that 'guest OS type' known: */
    472475        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