VirtualBox

Changeset 33742 in vbox


Ignore:
Timestamp:
Nov 3, 2010 5:42:35 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt; Machine settings / Network page: small fix for internal network list loading.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.cpp

    r33686 r33742  
    344344            break;
    345345        case KNetworkAttachmentType_Internal:
    346             mCbAdapterName->insertItems (0, mParent->intList());
     346            mCbAdapterName->insertItems (0, mParent->fullIntList());
    347347            mCbAdapterName->setEditable (true);
    348348            mCbAdapterName->setCompleter (0);
     
    696696    }
    697697
     698    return mIntList;
     699}
     700
     701QStringList VBoxVMSettingsNetworkPage::fullIntList (bool aRefresh)
     702{
     703    QStringList list (intList (aRefresh));
    698704    /* Append network list with names from all the pages */
    699     QStringList list (mIntList);
    700705    for (int index = 0; index < mTwAdapters->count(); ++ index)
    701706    {
     
    709714        }
    710715    }
    711 
    712716    return list;
    713717}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.h

    r33631 r33742  
    126126    QStringList brgList (bool aRefresh = false);
    127127    QStringList intList (bool aRefresh = false);
     128    QStringList fullIntList (bool aRefresh = false);
    128129    QStringList hoiList (bool aRefresh = false);
    129 #ifdef VBOX_WITH_VDE
    130     QStringList vdeList (bool aRefresh = false);
    131 #endif
    132130
    133131protected:
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