CInfoViewer: ensure removing of timescale bar after killed infobar

In some constellations it was possible that timescale was not removed
from screen after closing of infoviewer.
e.g. user switched from a
channel with epg data to a channel without epg data and infobar was closed
before epg data was complete arrived.

btw: it seems INFOBAR_PROGRESSBAR_ARRANGEMENT_DEFAULT
is not not really "default"


Origin commit data
------------------
Branch: ni/coolstream
Commit: 85ad35abdc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-03 (Sun, 03 Jan 2016)

Origin message was:
------------------
CInfoViewer: ensure removing of timescale bar after killed infobar

In some constellations it was possible that timescale was not removed
from screen after closing of infoviewer.
e.g. user switched from a
channel with epg data to a channel without epg data and infobar was closed
before epg data was complete arrived.

btw: it seems INFOBAR_PROGRESSBAR_ARRANGEMENT_DEFAULT
is not not really "default"


------------------
This commit was generated by Migit
This commit is contained in:
2016-01-03 14:38:42 +01:00
parent 831d9442e2
commit ffebc09498

View File

@@ -232,6 +232,8 @@ void CInfoViewer::ResetPB()
} }
if (timescale){ if (timescale){
if (g_settings.infobar_progressbar == SNeutrinoSettings::INFOBAR_PROGRESSBAR_ARRANGEMENT_DEFAULT)
timescale->kill();
delete timescale; delete timescale;
timescale = NULL; timescale = NULL;
} }