]> Creatis software - cpPlugins.git/blobdiff - dependencies/qt-4.8.6_MAC.patch
Moved to version 1.0
[cpPlugins.git] / dependencies / qt-4.8.6_MAC.patch
diff --git a/dependencies/qt-4.8.6_MAC.patch b/dependencies/qt-4.8.6_MAC.patch
deleted file mode 100644 (file)
index f0d2122..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/gui/painting/qpaintengine_mac.cpp.orig 2015-05-07 14:14:43.000000000 +0000
-+++ src/gui/painting/qpaintengine_mac.cpp
-@@ -340,13 +340,7 @@ CGColorSpaceRef QCoreGraphicsPaintEngine
-     }
-     // Get the color space from the display profile.
--    CGColorSpaceRef colorSpace = 0;
--    CMProfileRef displayProfile = 0;
--    CMError err = CMGetProfileByAVID((CMDisplayIDType)displayID, &displayProfile);
--    if (err == noErr) {
--        colorSpace = CGColorSpaceCreateWithPlatformColorSpace(displayProfile);
--        CMCloseProfile(displayProfile);
--    }
-+    CGColorSpaceRef colorSpace = CGDisplayCopyColorSpace(displayID);
-     // Fallback: use generic DeviceRGB
-     if (colorSpace == 0)
-