From 554c0591b731ca907658d25eca24b0500a1c7157 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 16 Jul 2023 20:27:03 +0200 Subject: [PATCH] channellist: disable channel numbers in history mode Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5fe6a14fa1e395c4405086d7844c9bebb6a07862 Author: vanhofen Date: 2023-07-16 (Sun, 16 Jul 2023) Origin message was: ------------------ - channellist: disable channel numbers in history mode ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 50d2aed5b..3cc68fc20 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2177,9 +2177,11 @@ void CChannelList::paintItem(int pos, const bool firstpaint) g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(numpos, ypos + fheight, numwidth, tmp, color, fheight); } + /* if (this->historyMode && g_settings.channellist_show_numbers) snprintf(chan_name, sizeof(chan_name), "%d: %s", chan->number, chan->getName().c_str()); else + */ snprintf(chan_name, sizeof(chan_name), "%s", chan->getName().c_str()); int pb_height = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getDigitHeight();