gui/miscsettings_menu.cpp: use CFEManager::haveSat in place of glocal delivery system

This commit is contained in:
[CST] Focus
2013-01-16 15:49:24 +04:00
parent f10ea0636d
commit dd3bc579a0

View File

@@ -49,6 +49,7 @@
#include <driver/screen_max.h>
#include <system/debug.h>
#include <zapit/femanager.h>
#include <cs_api.h>
@@ -257,7 +258,7 @@ void CMiscMenue::showMiscSettingsMenuGeneral(CMenuWidget *ms_general)
//rotor
//don't show rotor settings on cable box
if (g_info.delivery_system == DVB_S) {
if (CFEManager::getInstance()->haveSat()) {
mc = new CMenuOptionChooser(LOCALE_EXTRA_ROTOR_SWAP, &g_settings.rotor_swap, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
mc->setHint("", LOCALE_MENU_HINT_ROTOR_SWAP);
ms_general->addItem(mc);