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

@@ -185,7 +185,7 @@ ICMPanel::ICMPanel () : FoldableToolPanel(this, "icm", M("TP_ICM_LABEL")), iunch
onames->append_text (M("TP_ICM_NOICM"));
onames->set_active (0);
std::vector<Glib::ustring> opnames = iccStore->getOutputProfiles ();
std::vector<Glib::ustring> opnames = iccStore->getProfiles ();
for (size_t i = 0; i < opnames.size(); i++) {
onames->append_text (opnames[i]);