mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
gui/miscsettings_menu.cpp: remove global rotor_swap option
This commit is contained in:
@@ -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");
|
||||
|
@@ -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);
|
||||
|
@@ -629,7 +629,6 @@ struct SNeutrinoSettings
|
||||
int uselastchannel;
|
||||
|
||||
int power_standby;
|
||||
int rotor_swap;
|
||||
int hdd_sleep;
|
||||
int hdd_noise;
|
||||
int hdd_fs;
|
||||
|
Reference in New Issue
Block a user