| 1132 | } |
| 1133 | |
| 1134 | void |
| 1135 | FileSystemModel::onSortIndicatorChanged(int logicalIndex, |
| 1136 | Qt::SortOrder order) |
| 1137 | { |
| 1138 | { |
| 1139 | QMutexLocker l(&_imp->sortMutex); |
| 1140 | _imp->sortSection = logicalIndex; |
| 1141 | _imp->ordering = order; |
| 1142 | } |
| 1143 | boost::shared_ptr<FileSystemItem> item = _imp->getItemFromPath(_imp->currentRootPath); |
| 1144 | |
| 1145 | if (item) { |
| 1146 | cleanAndRefreshItem(item); |
| 1147 | } |
| 1148 | } |
| 1149 | |
| 1150 | boost::shared_ptr<FileSystemItem> |
| 1151 | FileSystemModelPrivate::getItemFromPath(const QString &path) const |
nothing calls this directly
no test coverage detected