Commit 604efc8d authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

Not sure if this isn't the correct code instead...

Ref T2337
parent 7c669703
......@@ -29,6 +29,7 @@
#include <KoStore.h>
#include <KoColorSpaceRegistry.h>
#include <KoColorSpaceEngine.h>
#include <KoColorProfile.h>
#include <KoDocumentInfo.h>
#include <KoFileDialog.h>
......@@ -375,6 +376,10 @@ void KisKraLoader::loadBinaryData(KoStore * store, KisImageWSP image, const QStr
{
const KoColorProfile *proofingProfile = KoColorSpaceRegistry::instance()->createColorProfile(image->proofingConfiguration()->proofingModel, image->proofingConfiguration()->proofingDepth, proofingData);
if (proofingProfile->valid()){
//if (KoColorSpaceEngineRegistry::instance()->get("icc")) {
// KoColorSpaceEngineRegistry::instance()->get("icc")->addProfile(proofingProfile->fileName());
//}
KoColorSpaceRegistry::instance()->addProfile(proofingProfile);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment