Changeset 7167 in vbox
- Timestamp:
- Feb 27, 2008 11:53:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r7012 r7167 1580 1580 { 1581 1581 CEnums::NetworkAttachmentType type = adapter.GetAttachmentType(); 1582 QString attType; 1582 QString attType = toString (adapter.GetAdapterType()) 1583 .replace (QRegExp ("\\s\\(.+\\)"), " (%1)"); 1583 1584 /* don't use the adapter type string for types that have 1584 1585 * an additional symbolic network/interface name field, use 1585 1586 * this name instead */ 1586 1587 if (type == CEnums::HostInterfaceNetworkAttachment) 1587 attType = a dapter.GetHostInterface();1588 attType = attType.arg (adapter.GetHostInterface()); 1588 1589 else if (type == CEnums::InternalNetworkAttachment) 1589 attType = a dapter.GetInternalNetwork();1590 attType = attType.arg (adapter.GetInternalNetwork()); 1590 1591 else 1591 attType = vboxGlobal().toString (type);1592 attType = attType.arg (vboxGlobal().toString (type)); 1592 1593 1593 1594 item += QString (sSectionItemTpl)
Note:
See TracChangeset
for help on using the changeset viewer.