]> git.sesse.net Git - vlc/commitdiff
Qt/EPG: Revert previous commit.
authorAdrien Maglo <magsoft@videolan.org>
Thu, 17 Jun 2010 20:00:18 +0000 (22:00 +0200)
committerAdrien Maglo <magsoft@videolan.org>
Thu, 17 Jun 2010 20:00:18 +0000 (22:00 +0200)
Sorry, this is not causing the issue ...

modules/gui/qt4/components/epg/EPGItem.cpp

index 4e24e5864217562f4a3089e0a2d1df733ec7da96..7087c3df4d57d47589532ade79f114445092952b 100644 (file)
@@ -86,8 +86,7 @@ void EPGItem::paint( QPainter *painter, const QStyleOptionGraphicsItem*, QWidget
 
     mapped.adjust( 0, 20, 0, 0 );
 
-    QDateTime m_end = m_start;
-    m_end.addSecs( m_duration );
+    QDateTime m_end = m_start.addSecs( m_duration );
     f.setPixelSize( 10 );
     f.setItalic( true );
     painter->setFont( f );