- Timestamp:
- Apr 24, 2017 5:18:51 PM (8 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r66657 r66658 517 517 } 518 518 } 519 else if (iColumn == ApplianceViewSection_ConfigValue && 520 m_enmVSDType == KVirtualSystemDescriptionType_OS) 521 { 522 const QStyle *pStyle = QApplication::style(); 523 const int iIconMetric = pStyle->pixelMetric(QStyle::PM_SmallIconSize); 524 value = vboxGlobal().vmGuestOSTypePixmapDefault(m_strConfigValue).scaledToHeight(iIconMetric, Qt::SmoothTransformation); 525 } 519 else if (iColumn == ApplianceViewSection_ConfigValue && m_enmVSDType == KVirtualSystemDescriptionType_OS) 520 value = vboxGlobal().vmGuestOSTypeIcon(m_strConfigValue); 526 521 break; 527 522 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic1.cpp
r66657 r66658 56 56 if (machine.GetAccessible()) 57 57 { 58 pixIcon = vboxGlobal().vmGuestOSTypePixmapDefault(machine.GetOSTypeId()) .scaled(iIconMetric, iIconMetric, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);58 pixIcon = vboxGlobal().vmGuestOSTypePixmapDefault(machine.GetOSTypeId()); 59 59 strName = machine.GetName(); 60 60 strUuid = machine.GetId();
Note:
See TracChangeset
for help on using the changeset viewer.