comparison data/model/TextModel.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
127 if (column < 2) { 127 if (column < 2) {
128 return SparseModel<TextPoint>::getData 128 return SparseModel<TextPoint>::getData
129 (row, column, role); 129 (row, column, role);
130 } 130 }
131 131
132 PointListIterator i = getPointListIteratorForRow(row); 132 PointListConstIterator i = getPointListIteratorForRow(row);
133 if (i == m_points.end()) return QVariant(); 133 if (i == m_points.end()) return QVariant();
134 134
135 switch (column) { 135 switch (column) {
136 case 2: return i->height; 136 case 2: return i->height;
137 case 3: return i->label; 137 case 3: return i->label;