VirtualBox

Ignore:
Timestamp:
Dec 16, 2008 10:39:34 AM (16 years ago)
Author:
vboxsync
Message:

#3282: Collection got replaced with safe array. Warning, windows builds/tests may break.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r13580 r15570  
    982982    mInterfaceList.clear();
    983983    /* load current inner list */
    984     CHostNetworkInterfaceEnumerator en =
    985         vboxGlobal().virtualBox().GetHost().GetNetworkInterfaces().Enumerate();
    986     while (en.HasMore())
    987         mInterfaceList += en.GetNext().GetName();
     984    CHostNetworkInterfaceVector interfaces =
     985        vboxGlobal().virtualBox().GetHost().GetNetworkInterfaces();
     986    for (CHostNetworkInterfaceVector::ConstIterator it = interfaces.begin();
     987         it != interfaces.end(); ++it)
     988        mInterfaceList += it->GetName();
    988989    /* save current list item name */
    989990    QString currentListItemName = lbHostInterface->currentText();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette