From 94d977e32b013211c42efd8b718a81d646a54825 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 12 Oct 2010 08:40:51 +0000 Subject: [PATCH] fix compile with test menu git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@831 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2968d8cb2583ccb04cc80f126d6d06ff74b87ac0 Author: [CST] Focus Date: 2010-10-12 (Tue, 12 Oct 2010) ------------------ This commit was generated by Migit --- src/neutrino_menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index 4e2253c34..d0aeb14ac 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -750,6 +750,7 @@ void CNeutrinoApp::InitMainMenu(CMenuWidget &mainMenu, CMenuWidget &mainSettings CMenuWidget &keySettings, CMenuWidget &languageSettings, CMenuWidget &miscSettings, CMenuWidget &service, CMenuWidget &/*fontSettings*/, CMenuWidget &audiopl_picSettings, CMenuWidget &/*streamingSettings*/, CMenuWidget &moviePlayer) { + unsigned int system_rev = cs_get_revision(); #ifdef TEST_MENU char rev[255]; @@ -842,7 +843,6 @@ void CNeutrinoApp::InitMainMenu(CMenuWidget &mainMenu, CMenuWidget &mainSettings mainMenu.addItem(new CMenuForwarder(LOCALE_MAINMENU_REBOOT, true, NULL, this, "reboot", CRCInput::convertDigitToKey(shortcut++))); - unsigned int system_rev = cs_get_revision(); if(system_rev >= 8) mainMenu.addItem(new CMenuForwarder(LOCALE_MAINMENU_SHUTDOWN, true, NULL, this, "shutdown", CRCInput::RC_standby, NEUTRINO_ICON_BUTTON_POWER));