Merge with dev

This commit is contained in:
Desmis
2020-04-04 07:13:04 +02:00
6 changed files with 15 additions and 15 deletions

View File

@@ -782,7 +782,7 @@ Gtk::Widget* Preferences::getColorManPanel ()
const std::vector<Glib::ustring> profiles = rtengine::ICCStore::getInstance()->getProfiles(rtengine::ICCStore::ProfileType::MONITOR);
for (const auto profile : profiles) {
for (const auto& profile : profiles) {
if (profile.find("file:") != 0) {
std::string fileis_RTv4 = profile.substr(0, 4);
@@ -851,7 +851,7 @@ Gtk::Widget* Preferences::getColorManPanel ()
const std::vector<Glib::ustring> prtprofiles = rtengine::ICCStore::getInstance()->getProfiles(rtengine::ICCStore::ProfileType::PRINTER);
for (const auto prtprofile : prtprofiles) {
for (const auto& prtprofile : prtprofiles) {
prtProfile->append(prtprofile);
}