Don't create non-existing local directories as long as we don't need them. - if (local && !testdir.exists()) - makeDir(path, 0700); - if (testdir.exists() && !candidates->contains(path)) + if ((local || testdir.exists()) && !candidates->contains(path)) candidates->append(path);
svn path=/trunk/kdelibs/; revision=68722