- move quadpip-setup to videosettings

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-10-17 21:38:28 +02:00
committed by Thilo Graf
parent caaa27e39f
commit 8d39e55753
2 changed files with 9 additions and 12 deletions

View File

@@ -68,9 +68,6 @@
#include "gui/sleeptimer.h"
#include "gui/timerlist.h"
#include "gui/update_menue.h"
#if ENABLE_QUADPIP
#include <gui/quadpip_setup.h>
#endif
#ifdef ENABLE_TESTING
#include "gui/test_menu.h"
#endif
@@ -272,15 +269,6 @@ void CNeutrinoApp::InitMenuMain()
personalize.addItem(MENU_MAIN, mf, &g_settings.personalize[SNeutrinoSettings::P_MAIN_CISETTINGS]);
}
#if ENABLE_QUADPIP
// temp, only for testing, changed later
if (g_info.hw_caps->pip_devs >= 1) {
CMenuForwarder *quadpip = new CMenuForwarder(LOCALE_QUADPIP, true, NULL, new CQuadPiPSetup(), NULL, CRCInput::RC_nokey);
quadpip->setHint(NEUTRINO_ICON_HINT_QUADPIP, LOCALE_MENU_HINT_QUADPIP);
personalize.addItem(MENU_MAIN, quadpip/*, &g_settings.personalize[SNeutrinoSettings::P_MAIN_QUADPIP]*/);
}
#endif
#ifdef ENABLE_TESTING
personalize.addItem(MENU_MAIN, new CMenuForwarder("Test menu", true, NULL, new CTestMenu()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
#endif