Can we emit the signal here directly and `break`/`return` instead of having to go through the rest of the items as well? I don't think there is a possibility of having the same item (filename) listed twice? In this case, you can also get rid of the `bool listModified` altogether.