[vlc-commits] commit: Qt/EPG: Revert previous commit. (Adrien Maglo )

git at videolan.org git at videolan.org
Thu Jun 17 22:00:31 CEST 2010


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Jun 17 22:00:18 2010 +0200| [fca4d1eca586a05232e3f17f46a64c965e50f293] | committer: Adrien Maglo 

Qt/EPG: Revert previous commit.
Sorry, this is not causing the issue ...

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

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

diff --git a/modules/gui/qt4/components/epg/EPGItem.cpp b/modules/gui/qt4/components/epg/EPGItem.cpp
index 4e24e58..7087c3d 100644
--- a/modules/gui/qt4/components/epg/EPGItem.cpp
+++ b/modules/gui/qt4/components/epg/EPGItem.cpp
@@ -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 );



More information about the vlc-commits mailing list