changeset 213:df791d8c8f58

* Fix real-time plugin corruption when getLatency is called for some plugins * Other minor changes
author Chris Cannam
date Thu, 01 Mar 2007 15:35:27 +0000
parents e554ab9a4408
children 8520b7918104
files view/Overview.cpp view/View.cpp widgets/PluginParameterDialog.cpp
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/view/Overview.cpp	Thu Mar 01 12:15:08 2007 +0000
+++ b/view/Overview.cpp	Thu Mar 01 15:35:27 2007 +0000
@@ -210,7 +210,7 @@
     
     if (std::max(m_centreFrame, newCentreFrame) -
 	std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) {
-	emit centreFrameChanged(newCentreFrame, true, PlaybackIgnore);
+	emit centreFrameChanged(newCentreFrame, true, PlaybackScrollContinuous);
     }
 }
 
@@ -218,7 +218,7 @@
 Overview::mouseDoubleClickEvent(QMouseEvent *e)
 {
     long frame = getFrameForX(e->x());
-    emit centreFrameChanged(frame, true, PlaybackIgnore);
+    emit centreFrameChanged(frame, true, PlaybackScrollContinuous);
 }
 
 void
--- a/view/View.cpp	Thu Mar 01 12:15:08 2007 +0000
+++ b/view/View.cpp	Thu Mar 01 15:35:27 2007 +0000
@@ -549,7 +549,7 @@
 
     connect(m_manager, SIGNAL(globalCentreFrameChanged(unsigned long)),
 	    this, SLOT(globalCentreFrameChanged(unsigned long)));
-    connect(m_manager, SIGNAL(viewCentreFrameChanged(unsigned long)),
+    connect(m_manager, SIGNAL(viewCentreFrameChanged(View *, unsigned long)),
 	    this, SLOT(viewCentreFrameChanged(View *, unsigned long)));
     connect(m_manager, SIGNAL(playbackFrameChanged(unsigned long)),
 	    this, SLOT(viewManagerPlaybackFrameChanged(unsigned long)));
--- a/widgets/PluginParameterDialog.cpp	Thu Mar 01 12:15:08 2007 +0000
+++ b/widgets/PluginParameterDialog.cpp	Thu Mar 01 15:35:27 2007 +0000
@@ -507,7 +507,7 @@
     settings.setValue("advancedvisible", visible);
     settings.endGroup();
 
-    std::cerr << "resize to " << sizeHint().width() << " x " << sizeHint().height() << std::endl;
+//    std::cerr << "resize to " << sizeHint().width() << " x " << sizeHint().height() << std::endl;
 
     setMinimumHeight(sizeHint().height());
     adjustSize();