Mercurial > hg > svcore
diff data/model/NoteModel.h @ 606:1415e35881f6
* Some (incomplete) Solaris build bobs
author | Chris Cannam |
---|---|
date | Thu, 10 Sep 2009 14:17:59 +0000 |
parents | 325112751f0e |
children | 080d8bdd8762 |
line wrap: on
line diff
--- a/data/model/NoteModel.h Tue Sep 08 16:53:32 2009 +0000 +++ b/data/model/NoteModel.h Thu Sep 10 14:17:59 2009 +0000 @@ -178,7 +178,7 @@ return IntervalModel<Note>::getData(row, column, role); } - PointListIterator i = getPointListIteratorForRow(row); + PointListConstIterator i = getPointListIteratorForRow(row); if (i == m_points.end()) return QVariant(); switch (column) { @@ -196,7 +196,7 @@ } if (role != Qt::EditRole) return false; - PointListIterator i = getPointListIteratorForRow(row); + PointListConstIterator i = getPointListIteratorForRow(row); if (i == m_points.end()) return false; EditCommand *command = new EditCommand(this, tr("Edit Data"));