Fixed: Don't display D3D page under Linux and OS X

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-14 21:26:47 +01:00
parent b7fe07d781
commit 7d9a8b28c8

View file

@ -83,7 +83,10 @@ CClientConfigDialog::CClientConfigDialog( QWidget *parent ) :
CategoryStackedWidget->addWidget( new CSoundSettingsWidget( CategoryStackedWidget ) ); CategoryStackedWidget->addWidget( new CSoundSettingsWidget( CategoryStackedWidget ) );
CategoryStackedWidget->addWidget( new CSysInfoWidget( CategoryStackedWidget ) ); CategoryStackedWidget->addWidget( new CSysInfoWidget( CategoryStackedWidget ) );
CategoryStackedWidget->addWidget( new CSysInfoOpenGLWidget( CategoryStackedWidget ) ); CategoryStackedWidget->addWidget( new CSysInfoOpenGLWidget( CategoryStackedWidget ) );
#ifdef Q_OS_WIN
CategoryStackedWidget->addWidget( new CSysInfoD3DWidget( CategoryStackedWidget ) ); CategoryStackedWidget->addWidget( new CSysInfoD3DWidget( CategoryStackedWidget ) );
#endif
for( sint32 i = 0; i < CategoryStackedWidget->count(); i++ ) for( sint32 i = 0; i < CategoryStackedWidget->count(); i++ )
{ {