| 751 | } |
| 752 | |
| 753 | void FileSystemPile::onFileModified(QString strFileName) |
| 754 | { |
| 755 | FileSystemActor *actor; |
| 756 | |
| 757 | // Search all items in the pile for this path |
| 758 | for (uint i = 0; i < pileItems.size(); i++) |
| 759 | { |
| 760 | actor = (FileSystemActor *) pileItems[i]; |
| 761 | |
| 762 | // If the pile Item patches the file path, change its fileName |
| 763 | if (fsManager->isIdenticalPath(actor->getFullPath(), strFileName) && actor->isFileSystemType(Thumbnail)) |
| 764 | { |
| 765 | // Update Thumbnail |
| 766 | actor->enableThumbnail(); |
| 767 | |
| 768 | return; |
| 769 | } |
| 770 | } |
| 771 | } |
| 772 | |
| 773 | StrList FileSystemPile::getWatchDir() |
| 774 | { |
nothing calls this directly
no test coverage detected