diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-07-31 16:49:05 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-12-15 12:41:05 +0000 |
commit | 27f70d7826d739fe8705cb23b1a26cfb6e0bc16c (patch) | |
tree | 8b1451734dd5d0a9f528a4f3130ba394894f6cfc /src/gui/painting/qcoregraphics_p.h | |
parent | 259acdcb8a38b8989a137942d20ed2685a4c940a (diff) |
macOS: remove existing color-profile handling code
This code is unused/not functional.
Use sRGB everywhere instead. This is not a change
of effective color profile: the backing store has
had the sRGB profile assigned since commit ac899f6d
changed it as a side effect.
Change-Id: Ib45cec3acad90db2a0873b052d6bc4a61c894b18
Task-number: QTBUG-47660
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/painting/qcoregraphics_p.h')
-rw-r--r-- | src/gui/painting/qcoregraphics_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/painting/qcoregraphics_p.h b/src/gui/painting/qcoregraphics_p.h index d74c4d0711..7f677db465 100644 --- a/src/gui/painting/qcoregraphics_p.h +++ b/src/gui/painting/qcoregraphics_p.h @@ -73,9 +73,6 @@ Q_GUI_EXPORT QImage qt_mac_toQImage(CGImageRef image); Q_GUI_EXPORT void qt_mac_drawCGImage(CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage); -Q_GUI_EXPORT CGColorSpaceRef qt_mac_genericColorSpace(); -Q_GUI_EXPORT CGColorSpaceRef qt_mac_colorSpaceForDeviceType(const QPaintDevice *paintDevice); - Q_GUI_EXPORT void qt_mac_clip_cg(CGContextRef hd, const QRegion &rgn, CGAffineTransform *orig_xform); #ifdef Q_OS_MACOS |