From c49d441992b08529985b6dce42c6045773300880 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 8 Mar 2018 22:15:53 +0100 Subject: [PATCH] - mediaplayer-setup: remove old commented code Signed-off-by: Thilo Graf --- src/gui/mediaplayer_setup.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/gui/mediaplayer_setup.cpp b/src/gui/mediaplayer_setup.cpp index 3a52e2532..6ea605614 100644 --- a/src/gui/mediaplayer_setup.cpp +++ b/src/gui/mediaplayer_setup.cpp @@ -125,28 +125,4 @@ int CMediaPlayerSetup::showMediaPlayerSetup() selected = mediaSetup->getSelected(); delete mediaSetup; return res; - -#if 0 - CMenuWidget* mediaSetup = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width); - mediaSetup->setSelected(selected); - - // intros - mediaSetup->addIntroItems(LOCALE_MAINSETTINGS_MULTIMEDIA); - - CPictureViewerSetup psetup; - mediaSetup->addItem(new CMenuForwarder(LOCALE_PICTUREVIEWER_HEAD, true, NULL, &psetup, "", CRCInput::RC_red)); - CAudioPlayerSetup asetup; - mediaSetup->addItem(new CMenuForwarder(LOCALE_AUDIOPLAYER_NAME, true, NULL, &asetup, "", CRCInput::RC_green)); - - CWebTVSetup wsetup; - CMenuForwarder *mf; - mf = new CMenuForwarder(LOCALE_WEBTV_HEAD, true, NULL, &wsetup, "show_menu", CRCInput::RC_yellow); - mf->setHint(NEUTRINO_ICON_HINT_TVMODE /* FIXME */, LOCALE_MENU_HINT_WEBTV_SETUP); - mediaSetup->addItem(mf); - - int res = mediaSetup->exec (NULL, ""); - selected = mediaSetup->getSelected(); - delete mediaSetup; - return res; -#endif }