VirtualBox

Ignore:
Timestamp:
Apr 21, 2016 1:20:51 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​​​​​​​​bugref:6451: New VD Wizard: Make sure only preferred storage formats proposed in the basic wizard mode (expert mode still have all possible formats).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageBasic1.cpp

    r56180 r60625  
    105105                {
    106106                    const CMediumFormat &medFormat = medFormats[i];
    107                     if (medFormat.GetName() != "VDI")
     107                    const QVector<KMediumFormatCapabilities> &capabilities = medFormat.GetCapabilities();
     108                    if (medFormat.GetName() != "VDI" && capabilities.contains(KMediumFormatCapabilities_Preferred))
    108109                        addFormatButton(this, pFormatLayout, medFormat);
    109110                }
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