From a153f44baa98ac57d1805db3e2b175d880f2b06d Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Sun, 3 Mar 2019 22:20:23 +0100 Subject: [PATCH] epgview: use define tmdb_cover --- src/gui/epgview.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 23ea41bc7..cff46554c 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -59,6 +59,8 @@ #include #include +#define TMDB_COVER "/tmp/tmdb.jpg" + extern CPictureViewer * g_PicViewer; #define ICON_LARGE_WIDTH 26 @@ -1384,7 +1386,7 @@ void CEpgData::hide() imdb_active = false; imdb->cleanup(); - remove("/tmp/tmdb.jpg"); + remove(TMDB_COVER); } void CEpgData::GetEPGData(const t_channel_id channel_id, uint64_t id, time_t* startzeit, bool clear )