From a3f4cbaa9026e2c0cbfe71188fb13426a64d603e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 4 Mar 2014 12:23:21 +0400 Subject: [PATCH] gui/miscsettings_menu.cpp: remove global rotor_swap option --- src/gui/miscsettings_menu.cpp | 8 -------- src/neutrino.cpp | 2 -- src/system/settings.h | 1 - 3 files changed, 11 deletions(-) diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 36eb28c9a..85e01624e 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -324,14 +324,6 @@ void CMiscMenue::showMiscSettingsMenuGeneral(CMenuWidget *ms_general) ms_general->addItem(mn); } - //rotor - //don't show rotor settings on cable box - 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); - } - ms_general->addItem(GenericMenuSeparatorLine); CMenuForwarder * mf = new CMenuForwarder(LOCALE_PLUGINS_HDD_DIR, true, g_settings.plugin_hdd_dir, this, "plugin_dir"); diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 5b1f7ee42..3f8f6214a 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -379,7 +379,6 @@ int CNeutrinoApp::loadSetup(const char * fname) //misc g_settings.power_standby = configfile.getInt32( "power_standby", 0); - g_settings.rotor_swap = configfile.getInt32( "rotor_swap", 0); //led g_settings.led_tv_mode = configfile.getInt32( "led_tv_mode", 2); @@ -911,7 +910,6 @@ void CNeutrinoApp::saveSetup(const char * fname) //misc configfile.setInt32( "power_standby", g_settings.power_standby); - configfile.setInt32( "rotor_swap", g_settings.rotor_swap); configfile.setInt32( "zap_cycle", g_settings.zap_cycle ); configfile.setInt32( "hdd_fs", g_settings.hdd_fs); configfile.setInt32( "hdd_sleep", g_settings.hdd_sleep); diff --git a/src/system/settings.h b/src/system/settings.h index f4d0697b1..24d754d49 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -629,7 +629,6 @@ struct SNeutrinoSettings int uselastchannel; int power_standby; - int rotor_swap; int hdd_sleep; int hdd_noise; int hdd_fs;