mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
use g_info.hw_caps->can_shutdown; mostly ported from neutrino-mp
Origin commit data
------------------
Branch: ni/coolstream
Commit: de1ee8b73a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-19 (Sun, 19 Mar 2017)
Origin message was:
------------------
- use g_info.hw_caps->can_shutdown; mostly ported from neutrino-mp
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -55,7 +55,6 @@
|
||||
#include <zapit/femanager.h>
|
||||
#include <eitd/sectionsd.h>
|
||||
|
||||
#include <cs_api.h>
|
||||
#include <video.h>
|
||||
|
||||
#include <sectionsdclient/sectionsdclient.h>
|
||||
@@ -245,7 +244,7 @@ int CMiscMenue::showMiscSettingsMenu()
|
||||
misc_menue.addItem(mf);
|
||||
|
||||
//energy, shutdown
|
||||
if(cs_get_revision() > 7)
|
||||
if(g_info.hw_caps->can_shutdown)
|
||||
{
|
||||
mf = new CMenuForwarder(LOCALE_MISCSETTINGS_ENERGY, true, NULL, this, "energy", CRCInput::RC_green);
|
||||
mf->setHint("", LOCALE_MENU_HINT_MISC_ENERGY);
|
||||
|
Reference in New Issue
Block a user