mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/timerlist.cpp: use CServiceManager to get channel name
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e21bd7274
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-10 (Tue, 10 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -67,11 +67,9 @@
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
|
||||
#include <zapit/client/zapitclient.h>
|
||||
#include <zapit/client/zapittools.h>
|
||||
|
||||
#include <zapit/channel.h>
|
||||
#include <zapit/getservices.h>
|
||||
#include <zapit/bouquets.h>
|
||||
|
||||
extern CBouquetManager *g_bouquetManager;
|
||||
|
||||
#include <string.h>
|
||||
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user