From 85ad35abdc3e897ddf47688ddd00b501bcb8d86f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 3 Jan 2016 14:38:42 +0100 Subject: [PATCH] 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" --- src/gui/infoviewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 81189ffa5..85542903d 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -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; }