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

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