diff data/model/SparseOneDimensionalModel.h @ 606:1415e35881f6

* Some (incomplete) Solaris build bobs
author Chris Cannam
date Thu, 10 Sep 2009 14:17:59 +0000
parents e43368ec5ff0
children e22b6e89a7f7
line wrap: on
line diff
--- a/data/model/SparseOneDimensionalModel.h	Tue Sep 08 16:53:32 2009 +0000
+++ b/data/model/SparseOneDimensionalModel.h	Thu Sep 10 14:17:59 2009 +0000
@@ -138,7 +138,7 @@
                 (row, column, role);
         }
 
-        PointListIterator i = getPointListIteratorForRow(row);
+        PointListConstIterator i = getPointListIteratorForRow(row);
         if (i == m_points.end()) return QVariant();
 
         switch (column) {
@@ -155,7 +155,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"));