SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/libs/ui/KisReferenceImage.cpp b/libs/ui/KisReferenceImage.cpp
  2. index 1ec55df539..c9394545c9 100644
  3. --- a/libs/ui/KisReferenceImage.cpp
  4. +++ b/libs/ui/KisReferenceImage.cpp
  5. @@ -56,7 +56,9 @@ struct KisReferenceImage::Private : public QSharedData
  6.  
  7.      bool loadFromFile() {
  8.          KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE(!externalFilename.isEmpty(), false);
  9. -        return image.load(externalFilename);
  10. +        bool r = image.load(externalFilename);
  11. +        image.convertToColorSpace(QColorSpace(QColorSpace::SRgb));
  12. +        return r;
  13.      }
  14.  
  15.      bool loadFromClipboard() {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top