Solving issue 1730: "Long startup time / all files on all mounts are scanned while opening". The ICC profile's directory scanning is no more recursive.

This commit is contained in:
natureh 510
2013-03-03 14:30:30 +01:00
parent 2e86d15c50
commit 602c2d42c4

View File

@@ -248,7 +248,11 @@ void ICCStore::loadICCs(Glib::ustring rootDirName, bool nameUpper, std::map<std:
}
}
}
} else qDirs.push_front(fname); // for later scanning
}
// Removed recursive scanning, see issue #1730.
// To revert to the recursive method, just uncomment the next line.
//else qDirs.push_front(fname); // for later scanning
}
delete dir;
}