| 754 | } |
| 755 | |
| 756 | StrList FileSystemManager::getWorkingDirectoryContents(QString filter) |
| 757 | { |
| 758 | if (!scnManager->getCurrentLibrary()) |
| 759 | return getDirectoryContents(native(scnManager->getWorkingDirectory()), filter); |
| 760 | |
| 761 | StrList files; |
| 762 | QListIterator<QString> dirIt(scnManager->getCurrentLibrary()->getFolderPaths()); |
| 763 | while (dirIt.hasNext()) |
| 764 | { |
| 765 | StrList list = getDirectoryContents(dirIt.next(), filter); |
| 766 | files.insert(files.end(), list.begin(), list.end()); |
| 767 | } |
| 768 | return files; |
| 769 | } |
| 770 | |
| 771 | StrList FileSystemManager::getDirectoryContents(QString dirPath, QString filter) |
| 772 | { |
no test coverage detected