From 862a1e7fecc171a8e8ec2c217f83c9e024f640d0 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 29 Nov 2013 10:08:19 +0100 Subject: [PATCH] CInfoViewer: add missing color type for time display On changed theme colors, it's required to set the current color values otherwise the old values remain, this does not look so good. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8a2185c32eb171f0e99e6cdad0ed71f1cbb742dc Author: Thilo Graf Date: 2013-11-29 (Fri, 29 Nov 2013) ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index dd62828c9..20eff23cf 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -259,6 +259,7 @@ void CInfoViewer::paintTime (bool show_dot) clock->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT); clock->doPaintBg(false); } + clock->setColorBody(COL_INFOBAR_PLUS_0); clock->setDimensionsAll(clock_x, clock_y, clock_w, clock_h); clock->setClockFont(SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME); clock->setClockFormat(show_dot ? "%H:%M" : "%H.%M");