mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Remove "Play Ryzom" button if using Steam
--HG-- branch : compatibility-develop
This commit is contained in:
parent
601cb4347a
commit
ed522e4445
2 changed files with 9 additions and 0 deletions
|
@ -51,6 +51,10 @@ ELSE()
|
|||
QT5_WRAP_UI(CLIENT_CONFIG_UI_HDRS ${CLIENT_CONFIG_UIS})
|
||||
ENDIF()
|
||||
|
||||
IF(WITH_RYZOM_STEAM)
|
||||
ADD_DEFINITIONS(-DRZ_USE_STEAM)
|
||||
ENDIF()
|
||||
|
||||
SOURCE_GROUP("Resources" FILES ${CLIENT_CONFIG_RCS})
|
||||
SOURCE_GROUP("Forms" FILES ${CLIENT_CONFIG_UIS})
|
||||
SOURCE_GROUP("Generated Files" FILES ${CLIENT_CONFIG_UI_HDRS} ${CLIENT_CONFIG_MOC_SRC})
|
||||
|
|
|
@ -84,6 +84,11 @@ CClientConfigDialog::CClientConfigDialog( QWidget *parent ) :
|
|||
item->setHidden(true);
|
||||
#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 CDisplaySettingsWidget( CategoryStackedWidget ) );
|
||||
CategoryStackedWidget->addWidget( new CDisplaySettingsDetailsWidget( CategoryStackedWidget ) );
|
||||
|
|
Loading…
Reference in a new issue