From c7b714377d858e02ec2a4102c86b3696de30af4f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 23 Nov 2022 23:54:02 +0100 Subject: [PATCH] infoviewer: minor cleanup Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6e769b11a1bd00cfc1de851f44354eb2da16da4e Author: vanhofen Date: 2022-11-23 (Wed, 23 Nov 2022) Origin message was: ------------------ - infoviewer: minor cleanup ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 5 +---- src/gui/infoviewer.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 583a36e36..27cac6a80 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -597,7 +597,6 @@ void CInfoViewer::showMovieTitle(const int playState, const t_channel_id &Channe frameBuffer->paintIcon(playicon, icon_x, icon_y); showLcdPercentOver (); showInfoFile(); - //loop(fadeValue, show_dot , fadeIn); loop(show_dot); aspectRatio = 0; fileplay = 0; @@ -870,7 +869,6 @@ void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap } if (!calledFromNumZap) { - //loop(fadeValue, show_dot , fadeIn); loop(show_dot); } aspectRatio = 0; @@ -1059,8 +1057,7 @@ void CInfoViewer::loop(bool show_dot) { bool hideIt = true; resetSwitchMode(); //no virtual zap - //bool fadeOut = false; - timeoutEnd=0;; + timeoutEnd=0; setInfobarTimeout(); int res = messages_return::none; diff --git a/src/gui/infoviewer.h b/src/gui/infoviewer.h index 82f023af7..121851014 100644 --- a/src/gui/infoviewer.h +++ b/src/gui/infoviewer.h @@ -145,7 +145,6 @@ class CInfoViewer : public sigc::trackable void showInfoFile(); void killInfobarText(); - //void loop(int fadeValue, bool show_dot ,bool fadeIn); void loop(bool show_dot); std::string eventname; void show_current_next(bool new_chan, int epgpos);