remove CURRENTSERVICES_XML after reload channels

Origin commit data
------------------
Commit: 7b40b61c9a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)

Origin message was:
------------------
 remove CURRENTSERVICES_XML after reload channels
This commit is contained in:
Jacek Jendrzej
2014-01-18 21:02:23 +01:00
parent 7c54d3847f
commit 6698158cce

View File

@@ -33,6 +33,8 @@
#include <config.h>
#endif
#include <unistd.h>
#include <global.h>
#include <neutrino.h>
#include <mymenu.h>
@@ -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")