summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcoregraphics_p.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-08-02 12:56:44 -0700
committerJędrzej Nowacki <jedrzej.nowacki@qt.io>2017-08-04 17:55:48 +0000
commit861544583511d4e6f7745d2339b26ff1cd44132b (patch)
tree926e0f3f8d3508b3a6a78df9478d060fb90a9a95 /src/gui/painting/qcoregraphics_p.h
parent569171f620db433233df49661c4f8ff22c26fc67 (diff)
Fix build error with macOS 10.13 SDK
Several of these variables/macros are no longer defined. We didn't validate the preconditions on iOS, tvOS, or watchOS, so no need to bother validating them on macOS either. Nor did we check the OSStatus result on any platform anyways. Task-number: QTBUG-62266 Change-Id: Id19ebead5d3a8a08a0a56d798f0173d0d893fc91 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'src/gui/painting/qcoregraphics_p.h')
-rw-r--r--src/gui/painting/qcoregraphics_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qcoregraphics_p.h b/src/gui/painting/qcoregraphics_p.h
index 54de3f332e..d74c4d0711 100644
--- a/src/gui/painting/qcoregraphics_p.h
+++ b/src/gui/painting/qcoregraphics_p.h
@@ -71,7 +71,7 @@ Q_GUI_EXPORT CGImageRef qt_mac_toCGImage(const QImage &qImage);
Q_GUI_EXPORT CGImageRef qt_mac_toCGImageMask(const QImage &qImage);
Q_GUI_EXPORT QImage qt_mac_toQImage(CGImageRef image);
-Q_GUI_EXPORT OSStatus qt_mac_drawCGImage(CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage);
+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);