Web lists-archives.com

Dolphin: Updating the item model after KIO::CopyJob




I'm working on a change to Dolphin that involves using a KIO::CopyJob to copy files. It works fine so far, but when I query the KFileItemModel to get the index of the new file(s) so I can update the selection, I get back an index of -1. It looks like the item model isn't automatically updatyed after the copy job. I think I have to do something special to get the KFileItemModel to see the new files, but what?

Nathaniel Graham