hdd_menu: use addIntroItems() to generate menu head (because of missing GenericMenuSeparator)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@959 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: d2c13abd48
Author: Thilo Graf <dbt@novatux.de>
Date: 2010-12-24 (Fri, 24 Dec 2010)
This commit is contained in:
2010-12-23 23:38:55 +00:00
parent 75903cad99
commit 469d73107c

View File

@@ -97,8 +97,7 @@ int CHDDMenuHandler::doMenu ()
#endif #endif
CMenuWidget* hddmenu = new CMenuWidget(LOCALE_HDD_SETTINGS, NEUTRINO_ICON_SETTINGS, 58); CMenuWidget* hddmenu = new CMenuWidget(LOCALE_HDD_SETTINGS, NEUTRINO_ICON_SETTINGS, 58);
hddmenu->addItem( GenericMenuBack ); hddmenu->addIntroItems();
hddmenu->addItem( GenericMenuSeparatorLine );
hddmenu->addItem( new CMenuOptionChooser(LOCALE_HDD_SLEEP, &g_settings.hdd_sleep, HDD_SLEEP_OPTIONS, HDD_SLEEP_OPTION_COUNT, true)); hddmenu->addItem( new CMenuOptionChooser(LOCALE_HDD_SLEEP, &g_settings.hdd_sleep, HDD_SLEEP_OPTIONS, HDD_SLEEP_OPTION_COUNT, true));
hddmenu->addItem( new CMenuOptionChooser(LOCALE_HDD_NOISE, &g_settings.hdd_noise, HDD_NOISE_OPTIONS, HDD_NOISE_OPTION_COUNT, true)); hddmenu->addItem( new CMenuOptionChooser(LOCALE_HDD_NOISE, &g_settings.hdd_noise, HDD_NOISE_OPTIONS, HDD_NOISE_OPTION_COUNT, true));