summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qgl.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-07-16 19:20:31 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-07-22 12:36:16 (GMT)
commita8aa2c7a7f40883680b7989465873554dfbba3d6 (patch)
tree849a87405efcc94f7c6547e9eba78e3ab51030ba /doc/src/snippets/code/src_opengl_qgl.cpp
parent3d5b6f694f477a3529e79e72d66824b8befa0dc2 (diff)
downloadQt-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_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions