MCPcopy Create free account
hub / github.com/MrKepzie/Natron / onSortIndicatorChanged

Method onSortIndicatorChanged

Engine/FileSystemModel.cpp:1134–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132}
1133
1134void
1135FileSystemModel::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
1150boost::shared_ptr<FileSystemItem>
1151FileSystemModelPrivate::getItemFromPath(const QString &path) const

Callers

nothing calls this directly

Calls 1

getItemFromPathMethod · 0.80

Tested by

no test coverage detected