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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9aa1420ca7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-01-04 (Mon, 04 Jan 2016)

Origin message was:
------------------
src/gui/infoviewer.cpp try to fix segfault after PB change

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-01-04 20:13:59 +01:00
parent 72e442a51e
commit 4c09a4b1b4
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__