mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Fixed: Remove "Play Ryzom" button if using Steam
This commit is contained in:
parent
aa59952038
commit
61e142dcf2
2 changed files with 9 additions and 0 deletions
|
@ -51,6 +51,10 @@ ELSE()
|
||||||
QT5_WRAP_UI(CLIENT_CONFIG_UI_HDRS ${CLIENT_CONFIG_UIS})
|
QT5_WRAP_UI(CLIENT_CONFIG_UI_HDRS ${CLIENT_CONFIG_UIS})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
IF(WITH_RYZOM_STEAM)
|
||||||
|
ADD_DEFINITIONS(-DRZ_USE_STEAM)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
SOURCE_GROUP("Resources" FILES ${CLIENT_CONFIG_RCS})
|
SOURCE_GROUP("Resources" FILES ${CLIENT_CONFIG_RCS})
|
||||||
SOURCE_GROUP("Forms" FILES ${CLIENT_CONFIG_UIS})
|
SOURCE_GROUP("Forms" FILES ${CLIENT_CONFIG_UIS})
|
||||||
SOURCE_GROUP("Generated Files" FILES ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_MOC_SRC})
|
SOURCE_GROUP("Generated Files" FILES ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_MOC_SRC})
|
||||||
|
|
|
@ -84,6 +84,11 @@ CClientConfigDialog::CClientConfigDialog( QWidget *parent ) :
|
||||||
item->setHidden(true);
|
item->setHidden(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef RZ_USE_STEAM
|
||||||
|
// Hide Play Ryzom button if using Steam because we need to launch it from Steam
|
||||||
|
playRyzom->setHidden(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
CategoryStackedWidget->addWidget( new CGeneralSettingsWidget( CategoryStackedWidget ) );
|
CategoryStackedWidget->addWidget( new CGeneralSettingsWidget( CategoryStackedWidget ) );
|
||||||
CategoryStackedWidget->addWidget( new CDisplaySettingsWidget( CategoryStackedWidget ) );
|
CategoryStackedWidget->addWidget( new CDisplaySettingsWidget( CategoryStackedWidget ) );
|
||||||
CategoryStackedWidget->addWidget( new CDisplaySettingsDetailsWidget( CategoryStackedWidget ) );
|
CategoryStackedWidget->addWidget( new CDisplaySettingsDetailsWidget( CategoryStackedWidget ) );
|
||||||
|
|
Loading…
Reference in a new issue