]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/epg/EPGView.cpp
Qt: Remove the lines separating the channels in the EPGView widget as they are not...
[vlc] / modules / gui / qt4 / components / epg / EPGView.cpp
index e4af52f6f2f3cb6ffdc87121152c9a5a78b00ec6..578f886a97e5e75369a74ec760445475ddc3e232 100644 (file)
@@ -103,19 +103,6 @@ void EPGView::delEvent( EPGEvent* event )
     //qDebug() << "Del event: " << event->name;
 }
 
-void EPGView::drawBackground( QPainter *painter, const QRectF &rect )
-{
-    painter->setPen( QPen( QColor( 72, 72, 72 ) ) );
-
-    QPointF p = mapToScene( width(), 0 );
-
-    for ( int i = 0; i < m_channels.count(); ++i )
-    {
-        painter->drawLine( 0, ( i + 1 ) * TRACKS_HEIGHT,
-                           p.x(), ( i + 1 ) * TRACKS_HEIGHT );
-    }
-}
-
 void EPGView::updateDuration()
 {
     QDateTime lastItem;