VirtualBox

Changeset 37585 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 22, 2011 9:57:30 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72429
Message:

FE/Qt: 5746: Create generic network adapter UI in Machine settings / Network page: Renaming 'Generic' to 'Generic Driver'; Preventing settings being saved with no generic driver name specified.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r37525 r37585  
    29862986        tr ("Host-only Adapter", "NetworkAttachmentType");
    29872987    mNetworkAttachmentTypes [KNetworkAttachmentType_Generic] =
    2988         tr ("Generic", "NetworkAttachmentType");
     2988        tr ("Generic Driver", "NetworkAttachmentType");
    29892989
    29902990    mNetworkAdapterPromiscModePolicyTypes [KNetworkAdapterPromiscModePolicy_Deny] =
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.cpp

    r37571 r37585  
    842842                                                 "details report (network)").arg(adapter.GetHostOnlyInterface()));
    843843                    else if (type == KNetworkAttachmentType_Generic)
    844                         attType = attType.arg(tr("Generic, '%1' { %2 }",
     844                        attType = attType.arg(tr("Generic driver, '%1' { %2 }",
    845845                                                 "details report (network)").arg(adapter.GetGenericDriver(), summarizeGenericProperties(adapter)));
    846846                    else
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp

    r37571 r37585  
    240240            {
    241241                strWarning = tr("no host-only network adapter is selected");
     242                fValid = false;
     243            }
     244            break;
     245        case KNetworkAttachmentType_Generic:
     246            if (alternativeName().isNull())
     247            {
     248                strWarning = tr("no generic driver is selected");
    242249                fValid = false;
    243250            }
Note: See TracChangeset for help on using the changeset viewer.

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