From da2213e9b152549fe35d447a1c1e0fc8a3bfa2ed Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 12 Dec 2016 09:21:04 +0100 Subject: [PATCH] channellist: remove obsolete NI-code Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/12607338f7a2591246304ea0c38386452a000992 Author: vanhofen Date: 2016-12-12 (Mon, 12 Dec 2016) Origin message was: ------------------ - channellist: remove obsolete NI-code ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 19f0b71f5..aa16acddf 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2113,16 +2113,6 @@ void CChannelList::paintItem(int pos, const bool firstpaint) //name g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x+ 5+ numwidth+ 10+prg_offset, ypos+ fheight, width- numwidth- 40- 15-prg_offset, nameAndDescription, color); } - - //NI do update VFD only when cursor on live channel - if ((curr == selected) && (getKey(curr) == CNeutrinoApp::getInstance()->channelList->getActiveChannelNumber())) { //NI - if (!(chan->currentEvent.description.empty())) { - snprintf(nameAndDescription, sizeof(nameAndDescription), "%s - %s", - chan->getName().c_str(), p_event->description.c_str()); - CVFD::getInstance()->showMenuText(0, nameAndDescription, -1, true); // UTF-8 - } else - CVFD::getInstance()->showMenuText(0, chan->getName().c_str(), -1, true); // UTF-8 - } if (!firstpaint && curr == selected) updateVfd(); //NI lcd4l-support