VirtualBox

Changeset 105243 in vbox for trunk


Ignore:
Timestamp:
Jul 9, 2024 4:29:44 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163889
Message:

FE/Qt: VBox Manager / Snapshot Pane: Extend System details section with TPM info; It was present in Details pane and corresponding context menu only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotDetailsWidget.cpp

    r105241 r105243  
    7777#include "CSharedFolder.h"
    7878#include "CStorageController.h"
     79#include "CTrustedPlatformModule.h"
    7980#include "CUSBController.h"
    8081#include "CUSBDeviceFilter.h"
     
    13731374                                                         empReport(gpConverter->toString(enmChipsetType),
    13741375                                                                   gpConverter->toString(enmChipsetTypeOld)));
     1376            }
     1377
     1378            /* TPM Type? */
     1379            const CTrustedPlatformModule comModule = comMachine.GetTrustedPlatformModule();
     1380            const KTpmType enmTpmType = comModule.GetType();
     1381            const CTrustedPlatformModule comModuleOld = comMachineOld.GetTrustedPlatformModule();
     1382            const KTpmType enmTpmTypeOld = comModuleOld.GetType();
     1383            if (enmTpmType != KTpmType_None)
     1384            {
     1385                ++iRowCount;
     1386                strItem += QString(sSectionItemTpl2).arg(QApplication::translate("UIDetails", "TPM Type", "details (system)"),
     1387                                                         empReport(gpConverter->toString(enmTpmType),
     1388                                                                   gpConverter->toString(enmTpmTypeOld)));
    13751389            }
    13761390
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