# HG changeset patch # User lbajardsilogic # Date 1179317564 0 # Node ID 4eb9c7e4acf64d4351ddbd055b8398662826a4e0 # Parent 51fd00eae6242526dd4b169efdbc20a600d917b8 DenseThreeDimensionalModel no more used, use instead EditableDenseThreeDimensionalModel diff -r 51fd00eae624 -r 4eb9c7e4acf6 data/fileio/ModelReader.cpp --- a/data/fileio/ModelReader.cpp Wed May 16 11:35:32 2007 +0000 +++ b/data/fileio/ModelReader.cpp Wed May 16 12:12:44 2007 +0000 @@ -240,9 +240,6 @@ READ_MANDATORY(int, windowSize, toInt); READ_MANDATORY(int, yBinCount, toInt); - //DenseThreeDimensionalModel *model = - //new DenseThreeDimensionalModel(sampleRate, windowSize, yBinCount); - EditableDenseThreeDimensionalModel *model = new EditableDenseThreeDimensionalModel(sampleRate, windowSize, yBinCount); @@ -353,7 +350,7 @@ case 3: if (dynamic_cast(model)) good = true; - else if (dynamic_cast(model)) { + else if (dynamic_cast(model)) { m_datasetSeparator = attributes.value("separator"); good = true; } @@ -430,8 +427,7 @@ bool ModelHandler::addBinToDataset(const QXmlAttributes &attributes) { - //DenseThreeDimensionalModel *dtdm = dynamic_cast (m_model); - EditableDenseThreeDimensionalModel *dtdm = dynamic_cast(m_model); + EditableDenseThreeDimensionalModel *dtdm = dynamic_cast(m_model); if (dtdm) {