Copy-edit the ICC store for better performance and maintainability and add a method to load profile lists from arbitrary directories.

This commit is contained in:
Adam Reichold
2015-11-30 21:23:22 +01:00
parent 594b4f9b6e
commit 35919bddc9
5 changed files with 300 additions and 225 deletions

View File

@@ -1159,7 +1159,7 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
bool pro = false;
Glib::ustring chpro, outProfile;
bool present_space[9] = {false, false, false, false, false, false, false, false, false};
std::vector<Glib::ustring> opnames = iccStore->getOutputProfiles ();
std::vector<Glib::ustring> opnames = iccStore->getProfiles ();
//test if files are in system
for (int j = 0; j < 9; j++) {