comparison widgets/ActivityLog.cpp @ 504:d95635d6b82b

* rtmidi & activity updates
author Chris Cannam
date Tue, 24 Feb 2009 17:25:55 +0000
parents 133b378d8efe
children 299d0ffebb38
comparison
equal deleted inserted replaced
503:133b378d8efe 504:d95635d6b82b
49 int row = m_model->rowCount(); 49 int row = m_model->rowCount();
50 name = tr("%1: %2").arg(QTime::currentTime().toString()).arg(name); 50 name = tr("%1: %2").arg(QTime::currentTime().toString()).arg(name);
51 m_model->insertRows(row, 1); 51 m_model->insertRows(row, 1);
52 QModelIndex ix = m_model->index(row, 0); 52 QModelIndex ix = m_model->index(row, 0);
53 m_model->setData(ix, name); 53 m_model->setData(ix, name);
54 if (m_listView->isVisible()) m_listView->scrollTo(ix); 54 if (isVisible()) m_listView->scrollTo(ix);
55 } 55 }
56 56