diff widgets/ModelDataTableDialog.cpp @ 807:e4773943c9c1 warnfix_no_size_t

More unsigned/long and warning fixes
author Chris Cannam
date Tue, 17 Jun 2014 15:55:27 +0100
parents 1a0dfcbffaf1
children 4a578a360011
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.cpp	Tue Jun 17 15:36:56 2014 +0100
+++ b/widgets/ModelDataTableDialog.cpp	Tue Jun 17 15:55:27 2014 +0100
@@ -168,14 +168,14 @@
 }
 
 void
-ModelDataTableDialog::userScrolledToFrame(unsigned long frame)
+ModelDataTableDialog::userScrolledToFrame(int frame)
 {
     QModelIndex index = m_table->getModelIndexForFrame(frame);
     makeCurrent(index.row());
 }
 
 void
-ModelDataTableDialog::playbackScrolledToFrame(unsigned long frame)
+ModelDataTableDialog::playbackScrolledToFrame(int frame)
 {
     if (m_trackPlayback) {
         QModelIndex index = m_table->getModelIndexForFrame(frame);
@@ -248,14 +248,14 @@
 }
 
 void
-ModelDataTableDialog::viewPressed(const QModelIndex &index)
+ModelDataTableDialog::viewPressed(const QModelIndex &)
 {
 //    SVDEBUG << "ModelDataTableDialog::viewPressed: " << index.row() << ", " << index.column() << endl;
 }
 
 void
 ModelDataTableDialog::currentChanged(const QModelIndex &current,
-                                     const QModelIndex &previous)
+                                     const QModelIndex &)
 {
 //    SVDEBUG << "ModelDataTableDialog::currentChanged: from "
 //              << previous.row() << ", " << previous.column()