Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.cpp @ 687:06f13a3b9e9e debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:09 +0100 |
parents | b4a8d8221eaf |
children | 1424aa29ae95 |
comparison
equal
deleted
inserted
replaced
686:b4a8d8221eaf | 687:06f13a3b9e9e |
---|---|
193 } | 193 } |
194 | 194 |
195 void | 195 void |
196 ModelDataTableModel::sort(int column, Qt::SortOrder sortOrder) | 196 ModelDataTableModel::sort(int column, Qt::SortOrder sortOrder) |
197 { | 197 { |
198 // std::cerr << "ModelDataTableModel::sort(" << column << ", " << sortOrder | 198 // DEBUG << "ModelDataTableModel::sort(" << column << ", " << sortOrder |
199 // << ")" << std::endl; | 199 // << ")" << endl; |
200 int prevCurrent = getCurrentRow(); | 200 int prevCurrent = getCurrentRow(); |
201 if (m_sortColumn != column) { | 201 if (m_sortColumn != column) { |
202 clearSort(); | 202 clearSort(); |
203 } | 203 } |
204 m_sortColumn = column; | 204 m_sortColumn = column; |