This function is called when a directory has successfully been loaded (i.e when the filesystem finished to load thoroughly the directory requested)*/
| 1082 | /*This function is called when a directory has successfully been loaded (i.e |
| 1083 | when the filesystem finished to load thoroughly the directory requested)*/ |
| 1084 | void |
| 1085 | SequenceFileDialog::updateView(const QString &directory) |
| 1086 | { |
| 1087 | boost::shared_ptr<FileSystemItem> directoryItem = _model->getFileSystemItem(directory); |
| 1088 | |
| 1089 | assert(directoryItem); |
| 1090 | |
| 1091 | QModelIndex index = _model->index( directoryItem.get() ); |
| 1092 | /*update the view to show the newly loaded directory*/ |
| 1093 | setRootIndex(index); |
| 1094 | |
| 1095 | /*clearselection*/ |
| 1096 | _view->selectionModel()->clear(); |
| 1097 | } |
| 1098 | |
| 1099 | bool |
| 1100 | SequenceFileDialog::sequenceModeEnabled() const |
nothing calls this directly
no test coverage detected