# HG changeset patch
# User Chris Cannam
# Date 1405605031 -3600
# Node ID 2d4af227fd32bea8cdf1b70859a2c0f26c3d5451
# Parent  fd95308b5d3fa6593ce007698c71b5d74d38d05e
Fix some errant signals (the modelChanged with args are now modelChangedWithin)

diff -r fd95308b5d3f -r 2d4af227fd32 layer/Colour3DPlotLayer.cpp
--- 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) {
diff -r fd95308b5d3f -r 2d4af227fd32 layer/Colour3DPlotLayer.h
--- a/layer/Colour3DPlotLayer.h	Wed Jul 02 22:04:10 2014 +0100
+++ b/layer/Colour3DPlotLayer.h	Thu Jul 17 14:50:31 2014 +0100
@@ -168,7 +168,7 @@
     void cacheInvalid();
     void cacheInvalid(int startFrame, int endFrame);
     void modelChanged();
-    void modelChanged(int, int);
+    void modelChangedWithin(int, int);
 
 protected:
     const DenseThreeDimensionalModel *m_model; // I do not own this