VirtualBox

Changeset 96672 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 9, 2022 12:57:59 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10288: Using corresponding getSupported API for TPM types, s.a. r153552 and r153553.

File:
1 edited

Legend:

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

    r96669 r96672  
    3737#include "UITpmEditor.h"
    3838
    39 #if 0 // no API currently
    4039/* COM includes: */
    4140#include "CSystemProperties.h"
    42 #endif // no API currently
    4341
    4442
     
    149147        m_pCombo->clear();
    150148
    151 #if 0 // no API currently
    152149        /* Load currently supported values: */
    153150        CSystemProperties comProperties = uiCommon().virtualBox().GetSystemProperties();
    154151        m_supportedValues = comProperties.GetSupportedTpmTypes();
    155 #else
    156         m_supportedValues = QVector<KTpmType>() << KTpmType_None
    157                                                 << KTpmType_v1_2
    158                                                 << KTpmType_v2_0;
    159 #endif // no API currently
    160152
    161153        /* Make sure requested value if sane is present as well: */
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