use CFileHelpers::copyFile instead of own function; cleanup helpers

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2016-08-11 13:52:49 +02:00
parent c5ec2be239
commit 31a80d2f93
6 changed files with 15 additions and 50 deletions

View File

@@ -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);