Mercurial > hg > svgui
diff widgets/ModelDataTableDialog.cpp @ 586:1ae54a29e59e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:48:29 +0100 |
parents | f4960f8ce798 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/widgets/ModelDataTableDialog.cpp Tue Jun 14 14:48:29 2011 +0100 @@ -243,24 +243,24 @@ void ModelDataTableDialog::viewClicked(const QModelIndex &index) { -// std::cerr << "ModelDataTableDialog::viewClicked: " << index.row() << ", " << index.column() << std::endl; +// DEBUG << "ModelDataTableDialog::viewClicked: " << index.row() << ", " << index.column() << endl; emit scrollToFrame(m_table->getFrameForModelIndex(index)); } void ModelDataTableDialog::viewPressed(const QModelIndex &index) { -// std::cerr << "ModelDataTableDialog::viewPressed: " << index.row() << ", " << index.column() << std::endl; +// DEBUG << "ModelDataTableDialog::viewPressed: " << index.row() << ", " << index.column() << endl; } void ModelDataTableDialog::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) { -// std::cerr << "ModelDataTableDialog::currentChanged: from " +// DEBUG << "ModelDataTableDialog::currentChanged: from " // << previous.row() << ", " << previous.column() // << " to " << current.row() << ", " << current.column() -// << std::endl; +// << endl; m_currentRow = current.row(); m_table->setCurrentRow(m_currentRow); } @@ -301,7 +301,7 @@ void ModelDataTableDialog::currentChangedThroughResort(const QModelIndex &index) { -// std::cerr << "ModelDataTableDialog::currentChangedThroughResort: row = " << index.row() << std::endl; +// DEBUG << "ModelDataTableDialog::currentChangedThroughResort: row = " << index.row() << endl; // m_tableView->scrollTo(index); makeCurrent(index.row()); }