changeset 430:304fd0223fa6

* Add playback controls to data edit dialog * Make data edit dialog close properly when layer is removed from view * More fixes to playback tracking & selection model in data edit dialog * Remove edit button from data edit dialog for now
author Chris Cannam
date Wed, 18 Jun 2008 15:53:23 +0000
parents 6036b38177e2
children 9e1e12d1fbc3
files data/model/ModelDataTableModel.cpp data/model/ModelDataTableModel.h
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp	Wed Jun 18 13:40:10 2008 +0000
+++ b/data/model/ModelDataTableModel.cpp	Wed Jun 18 15:53:23 2008 +0000
@@ -157,12 +157,6 @@
     return m_model->getFrameForRow(getUnsorted(index.row()));
 }
 
-QModelIndex
-ModelDataTableModel::getModelIndexForRow(int row) const
-{
-    return createIndex(row, 0, 0);
-}
-
 void
 ModelDataTableModel::sort(int column, Qt::SortOrder sortOrder)
 {
--- a/data/model/ModelDataTableModel.h	Wed Jun 18 13:40:10 2008 +0000
+++ b/data/model/ModelDataTableModel.h	Wed Jun 18 15:53:23 2008 +0000
@@ -54,8 +54,6 @@
     QModelIndex getModelIndexForFrame(size_t frame) const;
     size_t getFrameForModelIndex(const QModelIndex &) const;
 
-    QModelIndex getModelIndexForRow(int row) const;
-
     void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
 
     void setCurrentRow(int row);