VirtualBox

Changeset 87316 in vbox


Ignore:
Timestamp:
Jan 20, 2021 9:50:36 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9871: Global Preferences: Remove Network page.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
6 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r87301 r87316  
    863863        src/settings/global/UIGlobalSettingsLanguage.h \
    864864        src/settings/global/UIGlobalSettingsDisplay.h \
    865         src/settings/global/UIGlobalSettingsNetwork.h \
    866         src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
    867         src/settings/global/UIGlobalSettingsPortForwardingDlg.h \
    868865        src/settings/machine/UIMachineSettingsAudio.h \
    869866        src/settings/machine/UIMachineSettingsDisplay.h \
     
    10081005        src/settings/editors/UIShortcutConfigurationEditor.cpp \
    10091006        src/settings/global/UIGlobalSettingsExtension.cpp \
    1010         src/settings/global/UIGlobalSettingsNetwork.cpp \
    10111007        src/settings/machine/UIMachineSettingsNetwork.cpp \
    10121008        src/settings/machine/UIMachineSettingsSerial.cpp \
     
    13951391        src/settings/global/UIGlobalSettingsLanguage.cpp \
    13961392        src/settings/global/UIGlobalSettingsDisplay.cpp \
    1397         src/settings/global/UIGlobalSettingsNetwork.cpp \
    1398         src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
    1399         src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
    14001393        src/settings/machine/UIMachineSettingsAudio.cpp \
    14011394        src/settings/machine/UIMachineSettingsDisplay.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp

    r87091 r87316  
    18671867        case GlobalSettingsPageType_Language:   strResult = "Language"; break;
    18681868        case GlobalSettingsPageType_Display:    strResult = "Display"; break;
    1869         case GlobalSettingsPageType_Network:    strResult = "Network"; break;
    18701869        case GlobalSettingsPageType_Extensions: strResult = "Extensions"; break;
    18711870#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
     
    18941893    keys << "Language";   values << GlobalSettingsPageType_Language;
    18951894    keys << "Display";    values << GlobalSettingsPageType_Display;
    1896     keys << "Network";    values << GlobalSettingsPageType_Network;
    18971895    keys << "Extensions"; values << GlobalSettingsPageType_Extensions;
    18981896#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
     
    19181916        case GlobalSettingsPageType_Language:   return UIIconPool::pixmap(":/site_warning_16px.png");
    19191917        case GlobalSettingsPageType_Display:    return UIIconPool::pixmap(":/vrdp_warning_16px.png");
    1920         case GlobalSettingsPageType_Network:    return UIIconPool::pixmap(":/nw_warning_16px.png");
    19211918        case GlobalSettingsPageType_Extensions: return UIIconPool::pixmap(":/extension_pack_warning_16px.png");
    19221919#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h

    r86978 r87316  
    824824    GlobalSettingsPageType_Language,
    825825    GlobalSettingsPageType_Display,
    826     GlobalSettingsPageType_Network,
    827826    GlobalSettingsPageType_Extensions,
    828827#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp

    r87251 r87316  
    3636#include "UIGlobalSettingsInput.h"
    3737#include "UIGlobalSettingsLanguage.h"
    38 #include "UIGlobalSettingsNetwork.h"
    3938#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    4039# include "UIGlobalSettingsProxy.h"
     
    101100    m_pSelector->setItemText(GlobalSettingsPageType_Display, tr("Display"));
    102101
    103     /* Network page: */
    104     m_pSelector->setItemText(GlobalSettingsPageType_Network, tr("Network"));
    105 
    106102    /* Extension page: */
    107103    m_pSelector->setItemText(GlobalSettingsPageType_Extensions, tr("Extensions"));
     
    236232                    addItem(":/vrdp_32px.png", ":/vrdp_24px.png", ":/vrdp_16px.png",
    237233                            iPageIndex, "#display", pSettingsPage);
    238                     addPageHelpKeyword(iPageIndex, "globalsettings");
    239                     break;
    240                 }
    241                 /* Network page: */
    242                 case GlobalSettingsPageType_Network:
    243                 {
    244                     pSettingsPage = new UIGlobalSettingsNetwork;
    245                     addItem(":/nw_32px.png", ":/nw_24px.png", ":/nw_16px.png",
    246                             iPageIndex, "#network", pSettingsPage);
    247234                    addPageHelpKeyword(iPageIndex, "globalsettings");
    248235                    break;
     
    319306    switch (iPageId)
    320307    {
    321         case GlobalSettingsPageType_Network:
    322         {
    323 #ifndef VBOX_WITH_NETFLT
    324             return false;
    325 #endif
    326             break;
    327         }
    328308        case GlobalSettingsPageType_Extensions:
    329309            return !uiCommon().virtualBox().GetExtensionPackManager().isNull();
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