Mercurial > hg > svgui
diff view/View.cpp @ 235:efadb9d2b2c6
* Experiment with sizing the property stacks and using a frame on the overview
widget with an eye to making the default empty window look a bit nicer
author | Chris Cannam |
---|---|
date | Mon, 16 Apr 2007 12:20:27 +0000 |
parents | 387f2f6fc333 |
children | 90122740323f |
line wrap: on
line diff
--- a/view/View.cpp Mon Apr 02 12:12:36 2007 +0000 +++ b/view/View.cpp Mon Apr 16 12:20:27 2007 +0000 @@ -55,7 +55,6 @@ m_manager(0), m_propertyContainer(new ViewPropertyContainer(this)) { -// QWidget::setAttribute(Qt::WA_PaintOnScreen); } View::~View() @@ -557,7 +556,11 @@ } m_manager = manager; - if (m_followPan) setCentreFrame(m_manager->getGlobalCentreFrame(), false); + if (m_followPlay != PlaybackIgnore) { + setCentreFrame(m_manager->getPlaybackFrame(), false); + } else if (m_followPan) { + setCentreFrame(m_manager->getGlobalCentreFrame(), false); + } if (m_followZoom) setZoomLevel(m_manager->getGlobalZoom()); connect(m_manager, SIGNAL(globalCentreFrameChanged(unsigned long)),