VirtualBox

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


Ignore:
Timestamp:
Oct 20, 2023 2:06:10 PM (15 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: UIMachineSettingsDisplay: Get rid of Recording tab visibility control (excessive stuff).

File:
1 edited

Legend:

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

    r101511 r101520  
    788788    m_pEditorVRDESettings->setVRDEOptionsAvailable(isMachineOffline() || isMachineSaved());
    789789
    790 #if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
    791     /* Polish 'Recording' visibility: */
    792     m_pTabWidget->setTabVisible(m_pTabWidget->indexOf(m_pTabRecording), uiCommon().supportedRecordingFeatures());
    793     /* Polish 'Recording' availability: */
    794     m_pTabRecording->setEnabled(isMachineInValidMode());
    795 #else
    796790    /* Polish 'Recording' availability: */
    797791    m_pTabWidget->setTabEnabled(2, isMachineInValidMode() && uiCommon().supportedRecordingFeatures());
    798792    m_pTabRecording->setEnabled(isMachineInValidMode() && uiCommon().supportedRecordingFeatures());
    799 #endif
     793
    800794    // Recording options should be enabled only if:
    801795    // 1. Machine is in 'offline' or 'saved' state,
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