mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
use CFileHelpers::copyFile instead of own function; cleanup helpers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d01d59b53
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-11 (Thu, 11 Aug 2016)
Origin message was:
------------------
- use CFileHelpers::copyFile instead of own function; cleanup helpers
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -59,9 +59,6 @@
|
||||
#include <eitd/sectionsd.h>
|
||||
#include <timerdclient/timerdclient.h>
|
||||
|
||||
//NI
|
||||
#include <system/helpers.h>
|
||||
|
||||
extern CPictureViewer * g_PicViewer;
|
||||
|
||||
#define ICON_LARGE_WIDTH 26
|
||||
@@ -1272,7 +1269,8 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
else
|
||||
picname = imdb->getFilename(channel, epgData.eventID);
|
||||
|
||||
if (!File_copy(imdb->posterfile.c_str(), picname.c_str()))
|
||||
CFileHelpers fh;
|
||||
if (!fh.copyFile(imdb->posterfile.c_str(), picname.c_str()))
|
||||
perror( "IMDb: error copy file" );
|
||||
|
||||
sleep(2);
|
||||
|
Reference in New Issue
Block a user