aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qmacfunctions_ios.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/macextras/qmacfunctions_ios.mm')
-rw-r--r--src/macextras/qmacfunctions_ios.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macextras/qmacfunctions_ios.mm b/src/macextras/qmacfunctions_ios.mm
index f2b8e57..0aaada8 100644
--- a/src/macextras/qmacfunctions_ios.mm
+++ b/src/macextras/qmacfunctions_ios.mm
@@ -47,6 +47,7 @@ QT_BEGIN_NAMESPACE
namespace QtMac
{
+#if QT_DEPRECATED_SINCE(5, 12)
CGContextRef currentCGContext()
{
return UIGraphicsGetCurrentContext();
@@ -77,6 +78,7 @@ int applicationIconBadgeNumber()
{
return [[UIApplication sharedApplication] applicationIconBadgeNumber];
}
+#endif
} // namespace QtMac