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:
CFrameBuffer *frameBuffer;
unsigned int selected, selected_in_new_mode;
unsigned int tuned;
t_channel_id selected_chid;
CLastChannel lastChList;
unsigned int liststart;
@@ -143,7 +144,6 @@ public:
int getSize() const;
int getSelectedChannelIndex() const;
void setSize(int newsize);
unsigned int tuned;
int doChannelMenu(void);
void SortAlpha(void);
void SortSat(void);

View File

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