[vlc-commits] Qt: epg: remove time based highlighting

Francois Cartegnie git at videolan.org
Tue Dec 20 21:42:47 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 20 21:06:29 2016 +0100| [5b3e91efd5adcd8e65213574e08f6d9621bb6ab2] | committer: Francois Cartegnie

Qt: epg: remove time based highlighting

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b3e91efd5adcd8e65213574e08f6d9621bb6ab2
---

 modules/gui/qt/components/epg/EPGItem.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/components/epg/EPGItem.cpp b/modules/gui/qt/components/epg/EPGItem.cpp
index 24242e4..c3ec4c2 100644
--- a/modules/gui/qt/components/epg/EPGItem.cpp
+++ b/modules/gui/qt/components/epg/EPGItem.cpp
@@ -69,9 +69,8 @@ void EPGItem::paint( QPainter *painter, const QStyleOptionGraphicsItem *option,
 
     QLinearGradient gradient( mapped.topLeft(), mapped.bottomLeft() );
 
-    bool b_simultaneous = m_view->liveTime().isValid() && playsAt( m_view->liveTime() );
-    if ( program->getCurrent() == this || b_simultaneous )
-        gradientColor.setRgb( 244, 125, 0 , b_simultaneous ? 192 : 255 );
+    if ( program->getCurrent() == this )
+        gradientColor.setRgb( 244, 125, 0 , 255 );
     else
         gradientColor.setRgb( 201, 217, 242 );
 



More information about the vlc-commits mailing list