From 997dd62ae75cafaede4c65e60d30d46f1bf659c7 Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 6 Nov 2011 15:12:43 +0000 Subject: [PATCH] neutrino: only show CA menue for machines with CI or smartcard slot git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1834 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino_menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index 57d5c43ac..37952b70b 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -134,7 +134,7 @@ void CNeutrinoApp::InitMainMenu(CMenuWidget &mainMenu, CMenuWidget &mainSettings mainMenu.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_info, NEUTRINO_ICON_BUTTON_INFO_SMALL )); // end of infomenu - /*if(system_rev != 10)*/ + if (cCA::GetInstance()->GetNumberCISlots() > 0 || cCA::GetInstance()->GetNumberSmartCardSlots() > 0) mainMenu.addItem( new CMenuForwarder(LOCALE_CI_SETTINGS, true, NULL, g_CamHandler, NULL, CRCInput::convertDigitToKey(0))); //settings menu