src/gui/infoviewer.cpp try to fix segfault after PB change

This commit is contained in:
Jacek Jendrzej
2016-01-04 20:13:59 +01:00
parent 597f10d920
commit 9aa1420ca7
2 changed files with 7 additions and 1 deletions

View File

@@ -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()

View File

@@ -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__