Mercurial > hg > svgui
changeset 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 | fd95308b5d3f |
children | f7590917177c ea098f7565eb |
files | layer/Colour3DPlotLayer.cpp layer/Colour3DPlotLayer.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
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) {
--- 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