VirtualBox

Changeset 29947 in vbox


Ignore:
Timestamp:
Jun 1, 2010 12:54:34 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62227
Message:

FE/Qt: if 2D acceleration is not available, do not only disable the 2D setting but uncheck it as well because the user can't do this for a disabled checkbox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.cpp

    r29679 r29947  
    149149#ifdef VBOX_WITH_VIDEOHWACCEL
    150150    mCb2DVideo->setEnabled (VBoxGlobal::isAcceleration2DVideoAvailable());
    151     mCb2DVideo->setChecked (mMachine.GetAccelerate2DVideoEnabled());
     151    mCb2DVideo->setChecked (   mMachine.GetAccelerate2DVideoEnabled()
     152                            && VBoxGlobal::isAcceleration2DVideoAvailable());
    152153#endif
    153154
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette