Cleaning up the GUI for the monitor profile and rendering intent +
output profile rendering intent + soft-proof button. DCP profile GUI switched from 2x2 array to a single column.
This commit is contained in:
@@ -478,6 +478,11 @@ void ICCStore::findDefaultMonitorProfile ()
|
||||
|
||||
if (GetICMProfileA(hDC, &profileLength, profileName)) {
|
||||
defaultMonitorProfile = Glib::ustring(profileName);
|
||||
defaultMonitorProfile = Glib::path_get_basename(defaultMonitorProfile);
|
||||
size_t pos = defaultMonitorProfile.rfind(".");
|
||||
if (pos != Glib::ustring::npos) {
|
||||
defaultMonitorProfile = defaultMonitorProfile.substr(0, pos);
|
||||
}
|
||||
}
|
||||
|
||||
// might fail if e.g. the monitor has no profile
|
||||
|
||||
Reference in New Issue
Block a user