From f1ff5ad778297496f83093310adf52bb5770e180 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 10 Apr 2012 16:01:51 +0400 Subject: [PATCH] neutrino.cpp: use CServiceManager to get channel name --- src/neutrino.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index b69bbceaf..05076531a 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2647,10 +2647,9 @@ _repeat: CTimerd::responseGetTimer &timer = tmpTimerList[0]; - CZapitClient Zapit; name += "\n"; - std::string zAddData = Zapit.getChannelName( timer.channel_id ); // UTF-8 + std::string zAddData = CServiceManager::getInstance()->GetServiceName(timer.channel_id); if( zAddData.empty()) { zAddData = g_Locale->getText(LOCALE_TIMERLIST_PROGRAM_UNKNOWN); }