VirtualBox

Changeset 95817 in vbox


Ignore:
Timestamp:
Jul 25, 2022 1:49:43 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt/Ds: bugref:10244: Build fix for r152530.

File:
1 edited

Legend:

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

    r95808 r95817  
    302302    , m_pEditorVRDESettings(0)
    303303    , m_pTabRecording(0)
     304    , m_pEditorRecordingSettings(0)
    304305{
    305306    prepare();
     
    781782    m_pEditorVRDESettings->setVRDEOptionsAvailable(isMachineOffline() || isMachineSaved());
    782783
     784#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
    783785    /* Polish 'Recording' visibility: */
    784786    m_pTabWidget->setTabVisible(m_pTabWidget->indexOf(m_pTabRecording), uiCommon().supportedRecordingFeatures());
    785787    /* Polish 'Recording' availability: */
    786788    m_pTabRecording->setEnabled(isMachineInValidMode());
     789#else
     790    /* Polish 'Recording' availability: */
     791    m_pTabWidget->setTabEnabled(2, isMachineInValidMode() && uiCommon().supportedRecordingFeatures());
     792    m_pTabRecording->setEnabled(isMachineInValidMode() && uiCommon().supportedRecordingFeatures());
     793#endif
    787794    // Recording options should be enabled only if:
    788795    // 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