mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
opkg_manager: remove unused member menu_offset
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2881c9781e
Author: Thilo Graf <dbt@novatux.de>
Date: 2023-03-07 (Tue, 07 Mar 2023)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -161,7 +161,7 @@ int COPKGManager::exec(CMenuTarget* parent, const string &actionKey)
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
int selected = menu->getSelected()/* - menu_offset*/;
|
int selected = menu->getSelected();
|
||||||
string pkg_name = menu->getItem(selected)->getName();
|
string pkg_name = menu->getItem(selected)->getName();
|
||||||
|
|
||||||
if (expert_mode && actionKey == "rc_blue") {
|
if (expert_mode && actionKey == "rc_blue") {
|
||||||
@@ -769,8 +769,6 @@ int COPKGManager::showMenu()
|
|||||||
|
|
||||||
menu->addItem(GenericMenuSeparatorLine);
|
menu->addItem(GenericMenuSeparatorLine);
|
||||||
|
|
||||||
menu_offset = menu->getItemsCount();
|
|
||||||
|
|
||||||
menu->addKey(CRCInput::RC_help, this, "rc_info");
|
menu->addKey(CRCInput::RC_help, this, "rc_info");
|
||||||
menu->addKey(CRCInput::RC_info, this, "rc_info");
|
menu->addKey(CRCInput::RC_info, this, "rc_info");
|
||||||
menu->addKey(CRCInput::RC_blue, this, "rc_blue");
|
menu->addKey(CRCInput::RC_blue, this, "rc_blue");
|
||||||
|
@@ -81,7 +81,6 @@ class COPKGManager : public CMenuTarget, public COPKGManagerExtra
|
|||||||
bool list_upgradeable_done;
|
bool list_upgradeable_done;
|
||||||
bool installed;
|
bool installed;
|
||||||
bool expert_mode;
|
bool expert_mode;
|
||||||
int menu_offset;
|
|
||||||
std::string *local_dir;
|
std::string *local_dir;
|
||||||
|
|
||||||
bool has_err;
|
bool has_err;
|
||||||
|
Reference in New Issue
Block a user