[vlc-commits] commit: Qt/EPG: Use the right function to update the EPGItem position. ( Adrien Maglo )

git at videolan.org git at videolan.org
Fri Jun 18 22:15:08 CEST 2010


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jun 18 19:57:49 2010 +0200| [c57d47dbe87f236784e975743ae1fe32e18fdcdc] | committer: Adrien Maglo 

Qt/EPG: Use the right function to update the EPGItem position.

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

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

diff --git a/modules/gui/qt4/components/epg/EPGView.cpp b/modules/gui/qt4/components/epg/EPGView.cpp
index aa2a614..432228a 100644
--- a/modules/gui/qt4/components/epg/EPGView.cpp
+++ b/modules/gui/qt4/components/epg/EPGView.cpp
@@ -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



More information about the vlc-commits mailing list