| 91 | } |
| 92 | |
| 93 | QStringList FileList::getFileList() const |
| 94 | { |
| 95 | if (mExcludedPaths.empty()) { |
| 96 | QStringList names; |
| 97 | for (const QFileInfo& item : mFileList) { |
| 98 | QString name = QDir::fromNativeSeparators(item.filePath()); |
| 99 | names << name; |
| 100 | } |
| 101 | return names; |
| 102 | } |
| 103 | return applyExcludeList(); |
| 104 | } |
| 105 | |
| 106 | void FileList::addExcludeList(const QStringList &paths) |
| 107 | { |