Changeset 74788 in vbox for trunk/src/VBox
- Timestamp:
- Oct 12, 2018 10:29:33 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r73663 r74788 365 365 m_enmVSDType == KVirtualSystemDescriptionType_SoundCard || 366 366 m_enmVSDType == KVirtualSystemDescriptionType_NetworkAdapter || 367 m_enmVSDType == KVirtualSystemDescriptionType_CloudOCIPublicIP) 367 m_enmVSDType == KVirtualSystemDescriptionType_CloudOCIPublicIP || 368 m_enmVSDType == KVirtualSystemDescriptionType_CloudOCIKeepObject || 369 m_enmVSDType == KVirtualSystemDescriptionType_CloudOCILaunchInstance) 368 370 enmFlags |= Qt::ItemIsUserCheckable; 369 371 /* Some items are editable */ … … 421 423 /* These option items can be enabled: */ 422 424 case KVirtualSystemDescriptionType_CloudOCIPublicIP: 425 case KVirtualSystemDescriptionType_CloudOCIKeepObject: 426 case KVirtualSystemDescriptionType_CloudOCILaunchInstance: 423 427 { 424 428 if (value.toInt() == Qt::Unchecked) … … 496 500 case KVirtualSystemDescriptionType_CloudOCIBucket: 497 501 case KVirtualSystemDescriptionType_CloudOCIVCN: 498 case KVirtualSystemDescriptionType_CloudOCIPublicIP: value = UIApplianceEditorWidget::tr(m_pParent->nameHint(m_enmVSDType).toUtf8().constData()); break; 502 case KVirtualSystemDescriptionType_CloudOCIPublicIP: 503 case KVirtualSystemDescriptionType_CloudOCIKeepObject: 504 case KVirtualSystemDescriptionType_CloudOCILaunchInstance: value = UIApplianceEditorWidget::tr(m_pParent->nameHint(m_enmVSDType).toUtf8().constData()); break; 499 505 default: value = UIApplianceEditorWidget::tr("Unknown Hardware Item"); break; 500 506 } … … 522 528 case KVirtualSystemDescriptionType_NetworkAdapter: value = gpConverter->toString(static_cast<KNetworkAdapterType>(m_strConfigValue.toInt())); break; 523 529 case KVirtualSystemDescriptionType_CloudOCIPublicIP: break; 530 case KVirtualSystemDescriptionType_CloudOCIKeepObject: break; 531 case KVirtualSystemDescriptionType_CloudOCILaunchInstance: break; 524 532 default: value = m_strConfigValue; break; 525 533 } … … 570 578 case KVirtualSystemDescriptionType_CloudOCIBucket: 571 579 case KVirtualSystemDescriptionType_CloudOCIVCN: 572 case KVirtualSystemDescriptionType_CloudOCIPublicIP: value = UIIconPool::iconSet(":/session_info_16px.png"); break; 580 case KVirtualSystemDescriptionType_CloudOCIPublicIP: 581 case KVirtualSystemDescriptionType_CloudOCIKeepObject: 582 case KVirtualSystemDescriptionType_CloudOCILaunchInstance: value = UIIconPool::iconSet(":/session_info_16px.png"); break; 573 583 default: break; 574 584 } … … 619 629 /* These option items can be enabled: */ 620 630 case KVirtualSystemDescriptionType_CloudOCIPublicIP: 631 case KVirtualSystemDescriptionType_CloudOCIKeepObject: 632 case KVirtualSystemDescriptionType_CloudOCILaunchInstance: 621 633 { 622 634 if (m_strConfigValue == "true")
Note:
See TracChangeset
for help on using the changeset viewer.