From dd3bc579a0a0aa0a39c26b1cff9cc857dc172706 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 16 Jan 2013 15:49:24 +0400 Subject: [PATCH] gui/miscsettings_menu.cpp: use CFEManager::haveSat in place of glocal delivery system --- src/gui/miscsettings_menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 9cb4d2692..d2b46c07e 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -49,6 +49,7 @@ #include #include +#include #include @@ -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);