QDirIterator: Cleaning up after one's self
commit3da795b77f3bb0752eb14057086241f25293e26d
authorJoão Abecasis <joao@abecasis.name>
Thu, 16 Jul 2009 19:22:04 +0000 (16 21:22 +0200)
committerJoão Abecasis <joao@abecasis.name>
Wed, 22 Jul 2009 12:36:17 +0000 (22 14:36 +0200)
tree96af71ee73cd79d088a8077279e1eac800dd4460
parent4c58b5936b6d169f6745d5eea3e65744956b8d92
QDirIterator: Cleaning up after one's self

Well, why not?

Resetting nextFileInfo when we're done allows removing unnecessary check
in QDirIterator::next(), while retaining behavior.

Reviewed-by: Marius Storm-Olsen
src/corelib/io/qdiriterator.cpp