mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -232,6 +232,8 @@ void CInfoViewer::ResetPB()
|
||||
}
|
||||
|
||||
if (timescale){
|
||||
if (g_settings.infobar_progressbar == SNeutrinoSettings::INFOBAR_PROGRESSBAR_ARRANGEMENT_DEFAULT)
|
||||
timescale->kill();
|
||||
delete timescale;
|
||||
timescale = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user