From 5e21bd7274e61506cc347a956b29f9ae84b45023 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 10 Apr 2012 15:50:58 +0400 Subject: [PATCH] gui/timerlist.cpp: use CServiceManager to get channel name --- src/gui/timerlist.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 238e153cc..d5401887c 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -67,11 +67,9 @@ #include #include -#include -#include - -#include +#include #include + extern CBouquetManager *g_bouquetManager; #include @@ -961,8 +959,7 @@ std::string CTimerList::convertTimerRepeat2String(const CTimerd::CTimerEventRepe std::string CTimerList::convertChannelId2String(const t_channel_id id) // UTF-8 { - //CZapitClient Zapit; - std::string name = g_Zapit->getChannelName(id); // UTF-8 + std::string name = CServiceManager::getInstance()->GetServiceName(id); if (name.empty()) name = g_Locale->getText(LOCALE_TIMERLIST_PROGRAM_UNKNOWN);