bunjee
4th October 2009, 17:16
Hey trolls,
I want to retrieve every file name in a directory.
I'm doing this:
dir.entryList(QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot);
And guess what... When you have 10000+ files in a directory It's very slow.
Is it possible to retrieve files by chunk, like 100 by 100 or something ?
Thanks.
I want to retrieve every file name in a directory.
I'm doing this:
dir.entryList(QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot);
And guess what... When you have 10000+ files in a directory It's very slow.
Is it possible to retrieve files by chunk, like 100 by 100 or something ?
Thanks.