VirtualBox

Changeset 101241 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 22, 2023 3:40:32 PM (16 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: Global Preferences: A bit of cleanup for Input and Proxy pages.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/global
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp

    r101230 r101241  
    216216    /* Prepare everything: */
    217217    prepareWidgets();
    218     prepareConnections();
    219218
    220219    /* Apply language settings: */
     
    232231        if (m_pEditorShortcutConfiguration)
    233232        {
     233            connect(m_pEditorShortcutConfiguration, &UIShortcutConfigurationEditor::sigValueChanged,
     234                    this, &UIGlobalSettingsInput::revalidate);
    234235            addEditor(m_pEditorShortcutConfiguration);
    235236            pLayout->addWidget(m_pEditorShortcutConfiguration);
     
    244245        }
    245246    }
    246 }
    247 
    248 void UIGlobalSettingsInput::prepareConnections()
    249 {
    250     connect(m_pEditorShortcutConfiguration, &UIShortcutConfigurationEditor::sigValueChanged,
    251             this, &UIGlobalSettingsInput::revalidate);
    252247}
    253248
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h

    r98103 r101241  
    8484    /** Prepares widgets. */
    8585    void prepareWidgets();
    86     /** Prepares connections. */
    87     void prepareConnections();
    8886    /** Cleanups all. */
    8987    void cleanup();
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp

    r101230 r101241  
    219219    /* Prepare everything: */
    220220    prepareWidgets();
    221     prepareConnections();
    222221
    223222    /* Apply language settings: */
     
    235234        if (m_pEditorProxyFeatures)
    236235        {
     236            connect(m_pEditorProxyFeatures, &UIProxyFeaturesEditor::sigProxyModeChanged,
     237                    this, &UIGlobalSettingsProxy::revalidate);
     238            connect(m_pEditorProxyFeatures, &UIProxyFeaturesEditor::sigProxyHostChanged,
     239                    this, &UIGlobalSettingsProxy::revalidate);
    237240            addEditor(m_pEditorProxyFeatures);
    238241            pLayout->addWidget(m_pEditorProxyFeatures);
     
    242245        pLayout->addStretch();
    243246    }
    244 }
    245 
    246 void UIGlobalSettingsProxy::prepareConnections()
    247 {
    248     connect(m_pEditorProxyFeatures, &UIProxyFeaturesEditor::sigProxyModeChanged,
    249             this, &UIGlobalSettingsProxy::revalidate);
    250     connect(m_pEditorProxyFeatures, &UIProxyFeaturesEditor::sigProxyHostChanged,
    251             this, &UIGlobalSettingsProxy::revalidate);
    252247}
    253248
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.h

    r101053 r101241  
    8484    /** Prepares wıdgets. */
    8585    void prepareWidgets();
    86     /** Prepares connections. */
    87     void prepareConnections();
    8886    /** Cleanups all. */
    8987    void cleanup();
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