From 81ec9a0e26c9286f82acbf041f820aa5f07a0ed9 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 18 Jan 2014 21:02:23 +0100 Subject: [PATCH] remove CURRENTSERVICES_XML after reload channels Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7b40b61c9af2d7ba56e0809262fab87a2ca8994e Author: Jacek Jendrzej Date: 2014-01-18 (Sat, 18 Jan 2014) Origin message was: ------------------ remove CURRENTSERVICES_XML after reload channels ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/scan_setup.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 3cc6ccd67..638956ef3 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -33,6 +33,8 @@ #include #endif +#include + #include #include #include @@ -259,6 +261,9 @@ int CScanSetup::exec(CMenuTarget* parent, const std::string &actionKey) if (reloadhintBox) reloadhintBox->hide(); CNeutrinoApp::getInstance ()->SDTreloadChannels = false; + if(file_exists(CURRENTSERVICES_XML)){ + unlink(CURRENTSERVICES_XML); + } return res; } else if(actionKey == "satsetup")