| 1279 | } |
| 1280 | |
| 1281 | void |
| 1282 | FileSystemModel::onWatchedFileChanged(const QString& file) |
| 1283 | { |
| 1284 | ///Get the item corresponding to the current directory |
| 1285 | QFileInfo info(file); |
| 1286 | boost::shared_ptr<FileSystemItem> parent = _imp->getItemFromPath( info.absolutePath() ); |
| 1287 | |
| 1288 | if (parent) { |
| 1289 | cleanAndRefreshItem(parent); |
| 1290 | } |
| 1291 | } |
| 1292 | |
| 1293 | void |
| 1294 | FileSystemModel::cleanAndRefreshItem(const boost::shared_ptr<FileSystemItem>& item) |
nothing calls this directly
no test coverage detected