comparison data/model/RegionModel.h @ 608:d7f3dfe6f9a4

* solaris build fixes
author Chris Cannam
date Thu, 10 Sep 2009 18:44:45 +0000
parents 6441b31b37ac
children b1dc68507e46
comparison
equal deleted inserted replaced
607:a67651386253 608:d7f3dfe6f9a4
161 { 161 {
162 if (column < 4) { 162 if (column < 4) {
163 return IntervalModel<RegionRec>::getData(row, column, role); 163 return IntervalModel<RegionRec>::getData(row, column, role);
164 } 164 }
165 165
166 PointListIterator i = getPointListIteratorForRow(row); 166 PointListConstIterator i = getPointListIteratorForRow(row);
167 if (i == m_points.end()) return QVariant(); 167 if (i == m_points.end()) return QVariant();
168 168
169 switch (column) { 169 switch (column) {
170 case 4: return i->label; 170 case 4: return i->label;
171 default: return QVariant(); 171 default: return QVariant();