VirtualBox

Changeset 80276 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 14, 2019 2:36:52 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:7720: UIMachineSettingsNetwork: Wipe out remaining stuff forgotten in r132543.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp

    r80213 r80276  
    6262        , m_strMACAddress(QString())
    6363        , m_fCableConnected(false)
    64         , m_enmRestrictedNetworkAttachmentTypes(UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_Invalid)
    6564    {}
    6665
     
    116115    /** Holds whether the network adapter is connected. */
    117116    bool                              m_fCableConnected;
    118     /** Holds the list of restricted network attachment types. */
    119     UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork m_enmRestrictedNetworkAttachmentTypes;
    120117};
    121118
     
    209206    int m_iSlot;
    210207    UIPortForwardingDataList m_portForwardingRules;
    211     /** Holds the list of restricted network attachment types. */
    212     UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork m_enmRestrictedNetworkAttachmentTypes;
    213208};
    214209
     
    222217    , m_pParent(pParent)
    223218    , m_iSlot(-1)
    224     , m_enmRestrictedNetworkAttachmentTypes(UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork_Invalid)
    225219{
    226220    /* Apply UI decorations: */
     
    298292    for (int i = 0; i < adapterCache.childCount(); ++i)
    299293        m_portForwardingRules << adapterCache.child(i).base();
    300     /* Cache the restricted metwork attachment types to avoid re-reading them from the extra data: */
    301     m_enmRestrictedNetworkAttachmentTypes = oldAdapterData.m_enmRestrictedNetworkAttachmentTypes;
    302294
    303295    /* Repopulate combo-boxes content: */
     
    794786    UIDataSettingsMachineNetwork oldNetworkData;
    795787
    796     const UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork enmRestrictedNetworkAttachmentTypes =
    797         gEDataManager->restrictedNetworkAttachmentTypes();
    798 
    799788    /* For each network adapter: */
    800789    for (int iSlot = 0; iSlot < m_pTabWidget->count(); ++iSlot)
     
    821810            oldAdapterData.m_strGenericProperties = loadGenericProperties(comAdapter);
    822811            oldAdapterData.m_fCableConnected = comAdapter.GetCableConnected();
    823             oldAdapterData.m_enmRestrictedNetworkAttachmentTypes = enmRestrictedNetworkAttachmentTypes;
    824812            foreach (const QString &strRedirect, comAdapter.GetNATEngine().GetRedirects())
    825813            {
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