From 531a28408ded4cf2738ba91f3ec20bac9f9aa720 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 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f1ff5ad778297496f83093310adf52bb5770e180 Author: [CST] Focus Date: 2012-04-10 (Tue, 10 Apr 2012) --- 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); }