gui/channellist.h: make tuned private

This commit is contained in:
[CST] Focus
2012-03-12 14:11:54 +04:00
parent dfe4974b5f
commit 24ac76640e
2 changed files with 3 additions and 3 deletions

View File

@@ -57,6 +57,7 @@ class CChannelList
private: private:
CFrameBuffer *frameBuffer; CFrameBuffer *frameBuffer;
unsigned int selected, selected_in_new_mode; unsigned int selected, selected_in_new_mode;
unsigned int tuned;
t_channel_id selected_chid; t_channel_id selected_chid;
CLastChannel lastChList; CLastChannel lastChList;
unsigned int liststart; unsigned int liststart;
@@ -143,7 +144,6 @@ public:
int getSize() const; int getSize() const;
int getSelectedChannelIndex() const; int getSelectedChannelIndex() const;
void setSize(int newsize); void setSize(int newsize);
unsigned int tuned;
int doChannelMenu(void); int doChannelMenu(void);
void SortAlpha(void); void SortAlpha(void);
void SortSat(void); void SortSat(void);

View File

@@ -3290,7 +3290,7 @@ void CNeutrinoApp::tvMode( bool rezap )
SetChannelMode(g_settings.channel_mode); SetChannelMode(g_settings.channel_mode);
if( rezap ) { if( rezap ) {
firstChannel(); firstChannel();
channelList->tuned = 0xfffffff;; channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
channelList->zapTo( firstchannel.channelNumber -1 ); channelList->zapTo( firstchannel.channelNumber -1 );
} }
#ifdef USEACTIONLOG #ifdef USEACTIONLOG
@@ -3494,7 +3494,7 @@ void CNeutrinoApp::radioMode( bool rezap)
SetChannelMode(g_settings.channel_mode_radio); SetChannelMode(g_settings.channel_mode_radio);
if( rezap ) { if( rezap ) {
firstChannel(); firstChannel();
channelList->tuned = 0xfffffff;; channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
channelList->zapTo( firstchannel.channelNumber -1 ); channelList->zapTo( firstchannel.channelNumber -1 );
} }
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/radiomode.jpg"); videoDecoder->ShowPicture(DATADIR "/neutrino/icons/radiomode.jpg");