Changeset 15110 in vbox
- Timestamp:
- Dec 8, 2008 2:08:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsNetwork.cpp
r12060 r15110 730 730 /* Creating Tab Pages */ 731 731 CVirtualBox vbox = vboxGlobal().virtualBox(); 732 ulong count = vbox.GetSystemProperties().GetNetworkAdapterCount();732 ulong count = qMin ((ULONG) 4, vbox.GetSystemProperties().GetNetworkAdapterCount()); 733 733 for (ulong slot = 0; slot < count; ++ slot) 734 734 { … … 897 897 /* Load internal network list */ 898 898 CVirtualBox vbox = vboxGlobal().virtualBox(); 899 ulong count = vbox.GetSystemProperties().GetNetworkAdapterCount();899 ulong count = qMin ((ULONG) 4, vbox.GetSystemProperties().GetNetworkAdapterCount()); 900 900 CMachineVector vec = vbox.GetMachines2(); 901 901 for (CMachineVector::ConstIterator m = vec.begin();
Note:
See TracChangeset
for help on using the changeset viewer.