mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	Eliminate a look sequence report in displaychannel
This commit is contained in:
		@@ -205,11 +205,14 @@ void cViewChannel::ClearVariables(void) {
 | 
				
			|||||||
    globalTimers.ClearTimers();
 | 
					    globalTimers.ClearTimers();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void cViewChannel::SetChannel(const cChannel *channel, int number) {
 | 
					void cViewChannel::GetTimers(void) {
 | 
				
			||||||
    if (!timersLoaded) {
 | 
					    if (!timersLoaded) {
 | 
				
			||||||
        timersLoaded = true;
 | 
					        timersLoaded = true;
 | 
				
			||||||
        globalTimers.LoadTimers();
 | 
					        globalTimers.LoadTimers();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void cViewChannel::SetChannel(const cChannel *channel, int number) {
 | 
				
			||||||
    channelChange = true;
 | 
					    channelChange = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //check if channelgroups have to be cleared
 | 
					    //check if channelgroups have to be cleared
 | 
				
			||||||
@@ -252,10 +255,6 @@ void cViewChannel::SetChannel(const cChannel *channel, int number) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void cViewChannel::SetEvents(const cEvent *present, const cEvent *following) {
 | 
					void cViewChannel::SetEvents(const cEvent *present, const cEvent *following) {
 | 
				
			||||||
    if (!timersLoaded) {
 | 
					 | 
				
			||||||
        timersLoaded = true;
 | 
					 | 
				
			||||||
        globalTimers.LoadTimers();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    Clear((int)eVeDisplayChannel::epginfo);
 | 
					    Clear((int)eVeDisplayChannel::epginfo);
 | 
				
			||||||
    Clear((int)eVeDisplayChannel::progressbar);
 | 
					    Clear((int)eVeDisplayChannel::progressbar);
 | 
				
			||||||
    Clear((int)eVeDisplayChannel::scrapercontent);
 | 
					    Clear((int)eVeDisplayChannel::scrapercontent);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,6 +56,7 @@ public:
 | 
				
			|||||||
    void SetGlobals(cGlobals *globals);
 | 
					    void SetGlobals(cGlobals *globals);
 | 
				
			||||||
    void PreCache(void);
 | 
					    void PreCache(void);
 | 
				
			||||||
    void AddChannelViewList(const char *listName, cViewList *viewList);
 | 
					    void AddChannelViewList(const char *listName, cViewList *viewList);
 | 
				
			||||||
 | 
					    void GetTimers(void);
 | 
				
			||||||
    void SetChannel(const cChannel *channel, int number);
 | 
					    void SetChannel(const cChannel *channel, int number);
 | 
				
			||||||
    void SetEvents(const cEvent *present, const cEvent *following);
 | 
					    void SetEvents(const cEvent *present, const cEvent *following);
 | 
				
			||||||
    void SetMessage(eMessageType type, const char *text);
 | 
					    void SetMessage(eMessageType type, const char *text);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -95,5 +95,6 @@ void cSDDisplayChannel::SetChannelHint(const cChannel *Channel) {
 | 
				
			|||||||
void cSDDisplayChannel::Flush(void) {
 | 
					void cSDDisplayChannel::Flush(void) {
 | 
				
			||||||
    if (!ok)
 | 
					    if (!ok)
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
 | 
					    view->GetTimers();
 | 
				
			||||||
    view->Flush();
 | 
					    view->Flush();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user