diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-06-17 14:29:42 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-06-17 14:39:11 +0200 |
commit | 507ecc60f661d9dbba0c1f582329b20e840106e7 (patch) | |
tree | 0a5286e2f8949a4fe6e0d77b96a0c8b367a09530 /recmenus.c | |
parent | ef4ff3d115a1053ecea7bcfafac4f46f34ddf1d1 (diff) | |
download | vdr-plugin-tvguide-507ecc60f661d9dbba0c1f582329b20e840106e7.tar.gz vdr-plugin-tvguide-507ecc60f661d9dbba0c1f582329b20e840106e7.tar.bz2 |
Eliminate all currentMenuItems
Diffstat (limited to 'recmenus.c')
-rw-r--r-- | recmenus.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -759,7 +759,6 @@ cRecMenuSearchTimerEdit::~cRecMenuSearchTimerEdit(void) { delete *it; } mainMenuItems.clear(); - currentMenuItems.clear(); } int cRecMenuSearchTimerEdit::SplitChannelGroups(std::vector<std::string> *channelGroups, std::vector<std::string> *channelgroups) { @@ -852,7 +851,7 @@ void cRecMenuSearchTimerEdit::CreateMenuItems(void) { int start = GetStartIndex(); for (int i = start; i < numMenuItems; i++) { - if (!AddMenuItemInitial(currentMenuItems[i])) { + if (!AddMenuItemInitial(mainMenuItems[i])) { break; } } @@ -923,7 +922,7 @@ int cRecMenuSearchTimerEdit::GetTotalNumMenuItems(void) { cRecMenuItem *cRecMenuSearchTimerEdit::GetMenuItem(int number) { if ((number > -1) && (number < numMenuItems)) { - return currentMenuItems[number]; + return mainMenuItems[number]; } return NULL; } |