mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
avoid temporary in QDirIteratorPrivate::pushDirectory()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
999d86187b
commit
3e79fdf69f
1 changed files with 1 additions and 2 deletions
|
@ -192,8 +192,7 @@ void QDirIteratorPrivate::pushDirectory(const QFileInfo &fileInfo)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#ifndef QT_NO_FILESYSTEMITERATOR
|
#ifndef QT_NO_FILESYSTEMITERATOR
|
||||||
QFileSystemIterator *it = new QFileSystemIterator(fileInfo.d_ptr->fileEntry);
|
nativeIterators << new QFileSystemIterator(fileInfo.d_ptr->fileEntry);
|
||||||
nativeIterators << it;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue