mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
neutrino_menue.cpp: use #if instead #ifdef for TESTING
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
#include "gui/sleeptimer.h"
|
#include "gui/sleeptimer.h"
|
||||||
#include "gui/timerlist.h"
|
#include "gui/timerlist.h"
|
||||||
#include "gui/update_menue.h"
|
#include "gui/update_menue.h"
|
||||||
#ifdef ENABLE_TESTING
|
#if ENABLE_TESTING
|
||||||
#include "gui/test_menu.h"
|
#include "gui/test_menu.h"
|
||||||
#endif
|
#endif
|
||||||
#include "gui/update.h"
|
#include "gui/update.h"
|
||||||
@@ -255,7 +255,7 @@ void CNeutrinoApp::InitMenuMain()
|
|||||||
personalize.addItem(MENU_MAIN, mf, &g_settings.personalize[SNeutrinoSettings::P_MAIN_CISETTINGS]);
|
personalize.addItem(MENU_MAIN, mf, &g_settings.personalize[SNeutrinoSettings::P_MAIN_CISETTINGS]);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_TESTING
|
#if ENABLE_TESTING
|
||||||
personalize.addItem(MENU_MAIN, new CMenuForwarder("Test menu", true, NULL, new CTestMenu()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
personalize.addItem(MENU_MAIN, new CMenuForwarder("Test menu", true, NULL, new CTestMenu()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user