| 976 | } // onSelectionChanged |
| 977 | |
| 978 | void |
| 979 | SequenceFileDialog::enterDirectory(const QModelIndex & index) |
| 980 | { |
| 981 | QString path = index.data(FileSystemModel::FilePathRole).toString(); |
| 982 | |
| 983 | if ( path.isEmpty() || _model->isDir(index) ) { |
| 984 | setDirectory(path); |
| 985 | } |
| 986 | } |
| 987 | |
| 988 | bool |
| 989 | SequenceFileDialog::setDirectory(const QString &directory) |