Changed: Disable D3D radio button for other OSes

This commit is contained in:
kervala 2013-09-29 13:50:38 +02:00
parent 339242d88e
commit f11f5c8b7a

View file

@ -30,6 +30,10 @@ CDisplaySettingsWidget::CDisplaySettingsWidget( QWidget *parent ) :
ypositionLineEdit->setValidator( new QRegExpValidator( QRegExp( "[0-9]{1,6}" ), ypositionLineEdit ) );
load();
#ifndef Q_OS_WIN32
direct3dRadioButton->setEnabled(false);
#endif
connect( autoRadioButton, SIGNAL( clicked( bool ) ), this, SLOT( onSomethingChanged() ) );
connect( openglRadioButton, SIGNAL( clicked( bool ) ), this, SLOT( onSomethingChanged() ) );
connect( direct3dRadioButton, SIGNAL( clicked( bool ) ), this, SLOT( onSomethingChanged() ) );