This function is called when a directory has successfully been loaded (i.e when the filesystem finished to load thoroughly the directory requested)*/
| 1070 | /*This function is called when a directory has successfully been loaded (i.e |
| 1071 | when the filesystem finished to load thoroughly the directory requested)*/ |
| 1072 | void |
| 1073 | SequenceFileDialog::updateView(const QString &directory) |
| 1074 | { |
| 1075 | FileSystemItemPtr directoryItem = _model->getFileSystemItem(directory); |
| 1076 | |
| 1077 | assert(directoryItem); |
| 1078 | |
| 1079 | QModelIndex index = _model->index( directoryItem.get() ); |
| 1080 | /*update the view to show the newly loaded directory*/ |
| 1081 | setRootIndex(index); |
| 1082 | |
| 1083 | /*clearselection*/ |
| 1084 | _view->selectionModel()->clear(); |
| 1085 | } |
| 1086 | |
| 1087 | bool |
| 1088 | SequenceFileDialog::sequenceModeEnabled() const |
nothing calls this directly
no test coverage detected