1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Introjucer: a few minor optimisations.

This commit is contained in:
jules 2012-02-20 13:07:45 +00:00
parent 9d973f0089
commit 105929d39f
5 changed files with 12 additions and 7 deletions

View file

@ -584,8 +584,10 @@ void LibraryModule::findWildcardMatches (const File& localModuleFolder, const St
FileSorter sorter;
DirectoryIterator iter (localModuleFolder.getChildFile (path), false, wildCard);
while (iter.next())
if (! iter.getFile().isHidden())
bool isHiddenFile;
while (iter.next (nullptr, &isHiddenFile, nullptr, nullptr, nullptr, nullptr))
if (! isHiddenFile)
tempList.addSorted (sorter, iter.getFile());
result.addArray (tempList);