| 1319 | } |
| 1320 | |
| 1321 | void |
| 1322 | FileSystemModel::onWatchedFileChanged(const QString& file) |
| 1323 | { |
| 1324 | ///Get the item corresponding to the current directory |
| 1325 | QFileInfo info(file); |
| 1326 | FileSystemItemPtr parent = _imp->getItemFromPath( info.absolutePath() ); |
| 1327 | |
| 1328 | if (parent) { |
| 1329 | cleanAndRefreshItem(parent); |
| 1330 | } |
| 1331 | } |
| 1332 | |
| 1333 | void |
| 1334 | FileSystemModel::cleanAndRefreshItem(const FileSystemItemPtr& item) |
nothing calls this directly
no test coverage detected