[vlmc-devel] commit: TracksView: Making the tracks bigger. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Mon Sep 6 00:30:17 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Sep  6 00:29:50 2010 +0200| [a663605ca03c970183bad742ed94362c5798f55e] | committer: Hugo Beauzée-Luyssen 

TracksView: Making the tracks bigger.

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

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

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 47532b9..aed66a7 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -57,7 +57,7 @@ TracksView::TracksView( QGraphicsScene *scene, MainWorkflow *mainWorkflow,
     m_renderer( renderer )
 {
     //TODO should be defined by the settings
-    m_tracksHeight = 25;
+    m_tracksHeight = 35;
 
     m_numAudioTrack = 0;
     m_numVideoTrack = 0;
@@ -121,7 +121,7 @@ TracksView::addTrack( Workflow::TrackType type )
 {
     GraphicsTrack *track = new GraphicsTrack( type,
                                               type == Workflow::VideoTrack ? m_numVideoTrack : m_numAudioTrack );
-    track->setHeight( m_tracksHeight );
+    track->setHeight( tracksHeight() );
     m_layout->insertItem( type == Workflow::VideoTrack ? 0 : 1000, track );
     m_layout->activate();
     m_cursorLine->setHeight( m_layout->contentsRect().height() );



More information about the Vlmc-devel mailing list