Changeset 15599 in vbox for trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
- Timestamp:
- Dec 16, 2008 5:27:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r15570 r15599 1120 1120 1121 1121 CHost host = vboxGlobal().virtualBox().GetHost(); 1122 CHostNetworkInterface iFace = host.GetNetworkInterfaces().FindByName (iName); 1123 if (host.isOk()) 1122 CHostNetworkInterfaceVector interfaces = 1123 host.GetNetworkInterfaces(); 1124 CHostNetworkInterface iFace; 1125 for (CHostNetworkInterfaceVector::ConstIterator it = interfaces.begin(); 1126 it != interfaces.end(); ++it) 1127 if (it->GetName() == iName) 1128 iFace = *it; 1129 if (!iFace.isNull()) 1124 1130 { 1125 1131 /* delete interface */
Note:
See TracChangeset
for help on using the changeset viewer.