VirtualBox

Changeset 72677 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 25, 2018 12:05:24 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9184: A bit of style fixes for r122952 and r122966.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
Files:
2 edited

Legend:

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

    r72481 r72677  
    493493            message.second << tr(
    494494                "The hardware virtualization is enabled in the Acceleration section of the System page although "
    495                 "it is not supported by the host system. It should be disabled in order to start the virtual system");
     495                "it is not supported by the host system. It should be disabled in order to start the virtual system.");
    496496
    497497            fPass = false;
     
    600600
    601601    /* Polish 'Acceleration' availability: */
    602     /* Enable the hardware virtulization related check boxes if it is supported by the host system or
    603        it is enabled in the vm (in this case check box is enabled so that user can deselect the checkbox
    604        and disable the hardware virtualization (see #9184 for the discussion) */
    605     setAccelerationCheckBoxesEnabled((systemData.m_fSupportedHwVirtEx && isMachineOffline()) ||
    606                                      (systemData.m_fEnabledHwVirtEx && isMachineOffline()));
     602    /* Enable the hardware virtulization related check-boxes if it is supported by the host system or
     603     * it is currently enabled in the vm (in this case check-box is enabled so that user could
     604     * uncheck it and that way disable the hardware virtualization. */
     605    setAccelerationCheckBoxesEnabled(   (systemData.m_fSupportedHwVirtEx && isMachineOffline())
     606                                     || (systemData.m_fEnabledHwVirtEx && isMachineOffline()));
    607607    m_pLabelParavirtProvider->setEnabled(isMachineOffline());
    608608    m_pComboParavirtProvider->setEnabled(isMachineOffline());
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.h

    r72467 r72677  
    142142    bool saveAccelerationData();
    143143
    144     /** Disable/enable "hardware virtualization" and "nested paging" check boxes
    145      * (but not the "Paravirtualization Interface" combobox) */
     144    /** Defines whether "hardware virtualization" and "nested paging" check-boxes
     145      * (but not the "Paravirtualization Interface" combo-box) is @a fEnabled. */
    146146    void setAccelerationCheckBoxesEnabled(bool fEnabled);
    147147
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