Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/libs/ui/dialogs/kis_dlg_preferences.cc b/libs/ui/dialogs/kis_dlg_preferences.cc
- index f0b3afaddd..7560124ee2 100644
- --- a/libs/ui/dialogs/kis_dlg_preferences.cc
- +++ b/libs/ui/dialogs/kis_dlg_preferences.cc
- @@ -76,7 +76,7 @@
- #include "kis_color_manager.h"
- #include "KisProofingConfiguration.h"
- #include "kis_image_config.h"
- -
- +#include <QDebug>
- #include "slider_and_spin_box_sync.h"
- // for the performance update
- @@ -1688,7 +1688,10 @@ bool KisDlgPreferences::editPreferences()
- }
- }
- cfg.setWorkingColorSpace(m_colorSettings->m_page->cmbWorkingColorSpace->currentItem().id());
- -
- + // cfg.setWorkingColorSpace(cfg.readEntry("workingColorSpace", "RGBA"));
- + qDebug()<<"==================";
- + qDebug()<<"Current Color space"<<cfg.readEntry("workingColorSpace", "RGBA");
- + qDebug()<<"==================";
- KisImageConfig cfgImage(false);
- cfgImage.setDefaultProofingConfig(m_colorSettings->m_page->proofingSpaceSelector->currentColorSpace(),
- m_colorSettings->m_page->cmbProofingIntent->currentIndex(),
- diff --git a/libs/ui/kis_config.cc b/libs/ui/kis_config.cc
- index 42c75f1f1f..c56bfc04ed 100644
- --- a/libs/ui/kis_config.cc
- +++ b/libs/ui/kis_config.cc
- @@ -580,7 +580,7 @@ QString KisConfig::workingColorSpace(bool defaultValue) const
- void KisConfig::setWorkingColorSpace(const QString & workingColorSpace) const
- {
- qDebug()<<"===========";
- - qDebug()<<"Call to set working color space from "<< m_cfg.readEntry("workingColorSpace", "RGBA")) <<" to "<<WorkingColorSpace;
- + qDebug()<<"Call to set working color space from "<< m_cfg.readEntry("workingColorSpace", "RGBA");
- qDebug()<<"===========";
- m_cfg.writeEntry("workingColorSpace", workingColorSpace);
- }
- diff --git a/libs/ui/kis_config.h b/libs/ui/kis_config.h
- index 7a637c0752..a2d14205e0 100644
- --- a/libs/ui/kis_config.h
- +++ b/libs/ui/kis_config.h
- @@ -145,7 +145,7 @@ public:
- /// the custom monitor profile set by the user, depending on the configuration
- const KoColorProfile *displayProfile(int screen) const;
- - QString workingColorSpace(bool defaultValue = false) const;
- + static QString workingColorSpace(bool defaultValue = false) const;
- void setWorkingColorSpace(const QString & workingColorSpace) const;
- QString importProfile(bool defaultValue = false) const;
Add Comment
Please, Sign In to add comment