Changeset 82681 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 9, 2020 4:31:04 AM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendCOM.cpp
r82605 r82681 365 365 case KNetworkAdapterType_Virtio: return QApplication::translate("UICommon", "Paravirtualized Network (virtio-net)", "NetworkAdapterType"); 366 366 #endif /* VBOX_WITH_VIRTIO */ 367 case KNetworkAdapterType_Virtio_1_0: return QApplication::translate("UICommon", "Paravirtualized Network (virtio-net-1-dot-0)", "NetworkAdapterType"); 367 368 case KNetworkAdapterType_Am79C960: return QApplication::translate("UICommon", "PCnet-ISA (Am79C960)", "NetworkAdapterType"); 368 369 default: AssertMsgFailed(("No text for %d", type)); break; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp
r82568 r82681 696 696 ++iAdapterTypeIndex; 697 697 } 698 #ifdef VBOX_WITH_VIRTIO_1_0 699 m_pAdapterTypeCombo->insertItem(iAdapterTypeIndex, gpConverter->toString(KNetworkAdapterType_Virtio_1_0)); 700 m_pAdapterTypeCombo->setItemData(iAdapterTypeIndex, KNetworkAdapterType_Virtio_1_0); 701 m_pAdapterTypeCombo->setItemData(iAdapterTypeIndex, m_pAdapterTypeCombo->itemText(iAdapterTypeIndex), Qt::ToolTipRole); 702 ++iAdapterTypeIndex; 703 #endif /* VBOX_WITH_VIRTIO_1_0 */ 698 704 699 705 /* Choose requested adapter type: */ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r82570 r82681 841 841 } 842 842 /* Pass editor back: */ 843 #ifdef VBOX_WITH_VIRTIO_NET_1_0 844 pComboBox->addItem(gpConverter->toString(KNetworkAdapterType_Virtio_1_0), KNetworkAdapterType_Virtio_1_0); 845 #endif /* VBOX_WITH_VIRTIO */ 843 846 pEditor = pComboBox; 844 847 break;
Note:
See TracChangeset
for help on using the changeset viewer.