Issue 2406: Order the parallel thumbnail loading so it thumbs appear gradually in order, and don't use too many threads (to avoid long stalls).
This commit is contained in:
@@ -475,6 +475,7 @@ std::vector<Glib::ustring> FileCatalog::getFileList () {
|
||||
std::vector<Glib::ustring> names;
|
||||
Glib::RefPtr<Gio::File> dir = Gio::File::create_for_path (selectedDirectory);
|
||||
safe_build_file_list (dir, names, selectedDirectory, &(options.parsedExtensions));
|
||||
std::sort (names.begin(), names.end());
|
||||
return names;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user