From 5128cfd3bd44549e70d568e2303903ce314fc0ff Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 18 Jul 2013 14:49:01 +0400 Subject: [PATCH] gui/cam_menu.cpp: dont show CI reset/CI clock if no CI slots Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9cb1a9c33551fba1a91029813f106efdc3e51821 Author: [CST] Focus Date: 2013-07-18 (Thu, 18 Jul 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/cam_menu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/cam_menu.cpp b/src/gui/cam_menu.cpp index a537be267..a1047ef59 100644 --- a/src/gui/cam_menu.cpp +++ b/src/gui/cam_menu.cpp @@ -107,12 +107,12 @@ int CCAMMenuHandler::doMainMenu() //cammenu->addItem( GenericMenuSeparatorLine ); cammenu->addIntroItems(); - if(true /* CiSlots */) { + if(CiSlots) { cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_RESET_STANDBY, &g_settings.ci_standby_reset, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true)); cammenu->addItem( new CMenuOptionNumberChooser(LOCALE_CI_CLOCK, &g_settings.ci_clock, true, 6, 12, this)); - cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_IGNORE_MSG, &g_settings.ci_ignore_messages, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true)); - cammenu->addItem( GenericMenuSeparatorLine ); } + cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_IGNORE_MSG, &g_settings.ci_ignore_messages, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true)); + cammenu->addItem( GenericMenuSeparatorLine ); CMenuWidget * tempMenu; int i = 0;