CSoftwareUpdate: show package feature as disabled without support

This commit is contained in:
2014-12-21 15:47:28 +01:00
parent 58fa104967
commit 936735a77f

View File

@@ -106,12 +106,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
softUpdate.addItem(mf);
//firmware update via opkg
if (COPKGManager::hasOpkgSupport()) {
mf = new CMenuForwarder(LOCALE_OPKG_TITLE, true, NULL, new COPKGManager());
mf->setHint(NEUTRINO_ICON_HINT_SW_UPDATE, LOCALE_MENU_HINT_OPKG);
softUpdate.addItem(mf);
}
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