dont reload chanellist after manuel reload

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2065 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 163052cd39
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-01-17 (Tue, 17 Jan 2012)
This commit is contained in:
Jacek Jendrzej
2012-01-17 20:07:13 +00:00
parent 3ce9367ec8
commit 2fafab9ef7
5 changed files with 6 additions and 8 deletions

View File

@@ -57,7 +57,6 @@
#include <neutrino.h>
extern CBouquetManager *g_bouquetManager;
extern int g_channel_list_changed;
CBouquetList::CBouquetList(const char * const Name)
{
@@ -381,7 +380,7 @@ int CBouquetList::show(bool bShowChannelList)
else if ( msg == CRCInput::RC_setup) {
int ret = doMenu();
if(ret > 0) {
g_channel_list_changed = true;
CNeutrinoApp::getInstance ()->g_channel_list_changed = true;
res = -4;
loop = false;
} else if(ret < 0)

View File

@@ -84,7 +84,6 @@ extern CBouquetList * RADIOallList;
//extern t_channel_id rec_channel_id;
extern bool autoshift;
extern int g_channel_list_changed;
extern CBouquetManager *g_bouquetManager;
void sectionsd_getChannelEvents(CChannelEventList &eList, const bool tv_mode, t_channel_id *chidlist, int clen);
@@ -662,8 +661,8 @@ int CChannelList::show()
else if ( msg == CRCInput::RC_setup) {
old_b_id = bouquetList->getActiveBouquetNumber();
fader.Stop();
g_channel_list_changed = doChannelMenu();
if(g_channel_list_changed) {
CNeutrinoApp::getInstance ()->g_channel_list_changed = doChannelMenu();
if(CNeutrinoApp::getInstance ()->g_channel_list_changed) {
res = -4;
loop = false;
} else {

View File

@@ -236,6 +236,7 @@ int CScanSetup::exec(CMenuTarget* parent, const std::string &actionKey)
g_Zapit->reinitChannels();
if (reloadhintBox)
reloadhintBox->hide();
CNeutrinoApp::getInstance ()->SDTreloadChannels = false;
return res;
}

View File

@@ -148,8 +148,6 @@ extern cAudio * audioDecoder;
cPowerManager *powerManager;
cCpuFreqManager * cpuFreq;
int g_channel_list_changed;
void stop_daemons(bool stopall = true);
// uncomment if you want to have a "test" menue entry (rasc)

View File

@@ -130,7 +130,6 @@ private:
// bool fromflash;
bool init_cec_setting;
int lastChannelMode;
bool SDTreloadChannels;
struct timeval standby_pressed_at;
CZapitClient::responseGetLastChannel firstchannel;
@@ -229,6 +228,8 @@ public:
void SelectSubtitles();
void showInfo(void);
CConfigFile* getConfigFile() {return &configfile;};
bool SDTreloadChannels;
bool g_channel_list_changed;
};
#endif