[vlmc-devel] commit: TracksView: Don't waste CPU. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Sun Sep 5 23:00:24 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Sep  5 22:27:56 2010 +0200| [105882dedaf58e8266b794a5727ba218c6a15ff2] | committer: Hugo Beauzée-Luyssen 

TracksView: Don't waste CPU.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=105882dedaf58e8266b794a5727ba218c6a15ff2
---

 src/Gui/timeline/TracksView.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 28c9fa7..8eed01f 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -401,6 +401,7 @@ TracksView::moveMediaItem( TrackWorkflow *tw, ClipHelper *ch, qint64 time )
         if ( !item || item->uuid() != ch->uuid() )
             continue;
         moveMediaItem( item, tw->trackId(), time );
+        break ;
     }
     updateDuration();
     Timeline::getInstance()->tracksRuler()->update();



More information about the Vlmc-devel mailing list