mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Changed: Little optimization
This commit is contained in:
parent
9413f103bc
commit
89850bc52d
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ bool isDirectoryEmpty(const QString &directory, bool recursize)
|
|||
// process all files and directories excepted parent and current ones
|
||||
QFileInfoList list = dir.entryInfoList(QDir::Files | QDir::Dirs | QDir::Hidden | QDir::NoSymLinks | QDir::NoDotAndDotDot);
|
||||
|
||||
for (int i = 0; i < list.size(); ++i)
|
||||
for (int i = 0, len = list.size(); i < len; ++i)
|
||||
{
|
||||
QFileInfo fileInfo = list.at(i);
|
||||
|
||||
|
|
Loading…
Reference in a new issue