| 67 | } |
| 68 | |
| 69 | void FileManagerListJob::handleRemovedItem(ProjectBaseItem* item) |
| 70 | { |
| 71 | // NOTE: the item could be (partially) destroyed already, thus it's not save |
| 72 | // to call e.g. item->folder to cast the base item to a folder item... |
| 73 | auto *folder = reinterpret_cast<ProjectFolderItem*>(item); |
| 74 | m_listQueue.removeAll(folder); |
| 75 | |
| 76 | if (isChildItem(item, m_item)) { |
| 77 | kill(); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | void FileManagerListJob::remoteFolderSubjobEntriesFound(KJob* job, const KIO::UDSEntryList& foundEntries) |
| 82 | { |
no test coverage detected