| 286 | } |
| 287 | |
| 288 | void |
| 289 | Viewer::doSort( int index) |
| 290 | { |
| 291 | Qt::SortOrder ordering = this->ui.repoView->header()->sortIndicatorOrder(); |
| 292 | #ifdef DEVELOPMENT |
| 293 | std::cerr << "Sorting column " << index << " ordered by " << ordering << std::endl; |
| 294 | #endif /* DEVELOPMENT */ |
| 295 | this->ui.repoView->sortByColumn( index, ordering); |
| 296 | } |
| 297 | |
| 298 | void |
| 299 | Viewer::treeContextMenu(const QPoint& pos) |