diff layer/Colour3DPlotLayer.cpp @ 823:2d4af227fd32

Fix some errant signals (the modelChanged with args are now modelChangedWithin)
author Chris Cannam
date Thu, 17 Jul 2014 14:50:31 +0100
parents 6c52314b31b0
children db0759e4c6c3
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Wed Jul 02 22:04:10 2014 +0100
+++ b/layer/Colour3DPlotLayer.cpp	Thu Jul 17 14:50:31 2014 +0100
@@ -78,8 +78,8 @@
     connectSignals(m_model);
 
     connect(m_model, SIGNAL(modelChanged()), this, SLOT(modelChanged()));
-    connect(m_model, SIGNAL(modelChanged(int, int)),
-	    this, SLOT(modelChanged(int, int)));
+    connect(m_model, SIGNAL(modelChangedWithin(int, int)),
+	    this, SLOT(modelChangedWithin(int, int)));
 
     m_peakResolution = 256;
     if (model->getResolution() > 512) {
@@ -135,7 +135,7 @@
 }
 
 void
-Colour3DPlotLayer::modelChanged(int startFrame, int endFrame)
+Colour3DPlotLayer::modelChangedWithin(int startFrame, int endFrame)
 {
     if (!m_colourScaleSet && m_colourScale == LinearScale) {
         if (m_model && m_model->getWidth() > 50) {