mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
src/gui/infoviewer.cpp try to fix segfault after PB change
This commit is contained in:
@@ -122,6 +122,9 @@ CInfoViewer::CInfoViewer ()
|
||||
oldinfo.current_uniqueKey = 0;
|
||||
oldinfo.next_uniqueKey = 0;
|
||||
isVolscale = false;
|
||||
info_time_width = 0;
|
||||
timeoutEnd = 0;
|
||||
sec_timer_id = 0;
|
||||
}
|
||||
|
||||
CInfoViewer::~CInfoViewer()
|
||||
@@ -644,7 +647,10 @@ void CInfoViewer::reset_allScala()
|
||||
{
|
||||
changePB();
|
||||
lastsig = lastsnr = -1;
|
||||
infoViewerBB->changePB();
|
||||
infoViewerBB->reset_allScala();
|
||||
if(!clock)
|
||||
initClock();
|
||||
}
|
||||
|
||||
void CInfoViewer::check_channellogo_ca_SettingsChange()
|
||||
|
@@ -118,7 +118,6 @@ class CInfoViewerBB
|
||||
void paint_ca_icons(int, const char*, int&);
|
||||
void paintCA_bar(int,int);
|
||||
void showOne_CAIcon();
|
||||
void changePB(void);
|
||||
|
||||
static void* scrambledThread(void *arg);
|
||||
void scrambledCheck(bool force=false);
|
||||
@@ -153,6 +152,7 @@ class CInfoViewerBB
|
||||
CComponentsShapeSquare* getFooter(void){return foot;}
|
||||
CComponentsShapeSquare* getCABar(void){return cabar;}
|
||||
void ResetModules(void);
|
||||
void changePB(void);
|
||||
};
|
||||
|
||||
#endif // __infoview_bb__
|
||||
|
Reference in New Issue
Block a user