Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.cpp @ 690:1424aa29ae95
Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 15:26:52 +0100 |
parents | 06f13a3b9e9e |
children | 2b3a8ae04597 |
comparison
equal
deleted
inserted
replaced
689:573d45e9487b | 690:1424aa29ae95 |
---|---|
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 // DEBUG << "ModelDataTableModel::sort(" << column << ", " << sortOrder | 198 // SVDEBUG << "ModelDataTableModel::sort(" << column << ", " << sortOrder |
199 // << ")" << 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 } |