Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.cpp @ 686:b4a8d8221eaf debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:24 +0100 |
parents | b1dc68507e46 |
children | 06f13a3b9e9e |
comparison
equal
deleted
inserted
replaced
685:99222d4bfc78 | 686:b4a8d8221eaf |
---|---|
360 m_model->getData(i, m_sortColumn, TabularModel::SortRole); | 360 m_model->getData(i, m_sortColumn, TabularModel::SortRole); |
361 rowMap.insert(MapType::value_type(value.toString(), i)); | 361 rowMap.insert(MapType::value_type(value.toString(), i)); |
362 } | 362 } |
363 | 363 |
364 for (MapType::iterator i = rowMap.begin(); i != rowMap.end(); ++i) { | 364 for (MapType::iterator i = rowMap.begin(); i != rowMap.end(); ++i) { |
365 // std::cerr << "resortAlphabetical: " << i->second << ": " << i->first.toStdString() << std::endl; | 365 // std::cerr << "resortAlphabetical: " << i->second << ": " << i->first << std::endl; |
366 m_rsort.push_back(i->second); | 366 m_rsort.push_back(i->second); |
367 } | 367 } |
368 | 368 |
369 // rsort now maps from sorted row number to original row number | 369 // rsort now maps from sorted row number to original row number |
370 } | 370 } |