diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index f30cb8edc..49d90718a 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -281,9 +281,12 @@ void CNeutrinoApp::InitMenuMain() } #if ENABLE_PIP && ENABLE_QUADPIP - 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]*/); + // 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