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:
@@ -248,11 +248,15 @@ 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;
|
delete dir;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine the first monitor default profile of operating system, if selected
|
// Determine the first monitor default profile of operating system, if selected
|
||||||
|
Reference in New Issue
Block a user