From 25de7b0fffec9181b40dbc4deefa3a94adb9e604 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 13 May 2013 20:56:14 +0200 Subject: [PATCH] CNeutrinoEventList::paintDescription - show info1 if info2 is empty Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f23be72ee097e04857db1189f9c51620a9f446f5 Author: Jacek Jendrzej Date: 2013-05-13 (Mon, 13 May 2013) --- src/gui/eventlist.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 47d4d1c17..b8b97ccd3 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -829,8 +829,12 @@ void CNeutrinoEventList::paintDescription(int index) else CEitManager::getInstance()->getActualEPGServiceKey(evtlist[index].channelID, &epgData ); - if(!epgData.info2.empty()) + if(!epgData.info2.empty()){ infozone_text = epgData.info2; + } + else if (!epgData.info1.empty()){ + infozone_text = epgData.info1; + } else infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);