Fixed: Don't display D3D page under Linux and OS X
This commit is contained in:
parent
2682f4f4af
commit
823818f31f
1 changed files with 3 additions and 0 deletions
|
@ -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++ )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue