mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
CSoftwareUpdate: show package feature as disabled without support
Origin commit data
------------------
Commit: 936735a77f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
This commit is contained in:
@@ -106,14 +106,11 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
||||
softUpdate.addItem(mf);
|
||||
|
||||
//firmware update via opkg
|
||||
if (COPKGManager::hasOpkgSupport()) {
|
||||
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, true, NULL, new COPKGManager());
|
||||
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, COPKGManager::hasOpkgSupport(), NULL, new COPKGManager());
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
|
||||
softUpdate.addItem(mf);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
softUpdate.addItem(GenericMenuSeparatorLine);
|
||||
|
||||
|
Reference in New Issue
Block a user