diff options
author | João Abecasis <joao@abecasis.name> | 2009-07-16 19:20:31 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-07-22 12:36:16 (GMT) |
commit | a8aa2c7a7f40883680b7989465873554dfbba3d6 (patch) | |
tree | 849a87405efcc94f7c6547e9eba78e3ab51030ba /doc/src/snippets/code/src_gui_image_qbitmap.cpp | |
parent | 3d5b6f694f477a3529e79e72d66824b8befa0dc2 (diff) | |
download | Qt-a8aa2c7a7f40883680b7989465873554dfbba3d6.zip Qt-a8aa2c7a7f40883680b7989465873554dfbba3d6.tar.gz Qt-a8aa2c7a7f40883680b7989465873554dfbba3d6.tar.bz2 |
QDirIterator refactoring
Now that the heavy lifting has been done, we can condense
QDirIteratorPrivate::advance() further. It almost looks nice, even!
Using fileEngineIterators.top() directly in the loop condition allows us
to manipulate the stack without the foundDirectory check. Since QStack
can be inlined, this shouldn't severely affect performance...
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'doc/src/snippets/code/src_gui_image_qbitmap.cpp')
0 files changed, 0 insertions, 0 deletions