Changed: Disable D3D radio button for other OSes

This commit is contained in:
kervala 2013-09-29 13:50:38 +02:00
parent 81942a6e4a
commit d8cede8381

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() ) );