]> git.sesse.net Git - vlc/commitdiff
Qt/EPG: Use the right function to update the EPGItem position.
authorAdrien Maglo <magsoft@videolan.org>
Fri, 18 Jun 2010 17:57:49 +0000 (19:57 +0200)
committerAdrien Maglo <magsoft@videolan.org>
Fri, 18 Jun 2010 20:15:03 +0000 (22:15 +0200)
modules/gui/qt4/components/epg/EPGView.cpp

index aa2a6145c276a2736b37bdf328e53cf4b215c708..432228a9f7dcb812014aff5b8a7dc184d870da0d 100644 (file)
@@ -62,7 +62,7 @@ void EPGView::setStartTime( const QDateTime& startTime )
     {
         EPGItem* item = qgraphicsitem_cast<EPGItem*>( itemList.at( i ) );
         if ( !item ) continue;
-        item->setStart( item->start() );
+        item->updatePos();
     }
 
     // Our start time has changed