| 1734 | } |
| 1735 | |
| 1736 | QStringList |
| 1737 | SequenceFileDialog::history() const |
| 1738 | { |
| 1739 | QStringList currentHistory = _lookInCombobox->history(); |
| 1740 | //On windows the popup display the "C:\", convert to nativeSeparators |
| 1741 | QString newHistory = QDir::toNativeSeparators( _view->rootIndex().data(FileSystemModel::FilePathRole).toString() ); |
| 1742 | |
| 1743 | if ( !currentHistory.contains(newHistory) ) { |
| 1744 | currentHistory << newHistory; |
| 1745 | } |
| 1746 | |
| 1747 | return currentHistory; |
| 1748 | } |
| 1749 | |
| 1750 | std::string |
| 1751 | SequenceFileDialog::selectedFiles() |
no test coverage detected