X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fcomponents%2Fepg%2FEPGView.cpp;fp=modules%2Fgui%2Fqt4%2Fcomponents%2Fepg%2FEPGView.cpp;h=578f886a97e5e75369a74ec760445475ddc3e232;hb=96ee4e664bc8bb7a69287bfab7f09db15875fd4d;hp=e4af52f6f2f3cb6ffdc87121152c9a5a78b00ec6;hpb=c2ef487cfc91cca62bb9a58b6ae261b8421a7280;p=vlc diff --git a/modules/gui/qt4/components/epg/EPGView.cpp b/modules/gui/qt4/components/epg/EPGView.cpp index e4af52f6f2..578f886a97 100644 --- a/modules/gui/qt4/components/epg/EPGView.cpp +++ b/modules/gui/qt4/components/epg/EPGView.cpp @@ -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;