macOS: Fix compile warning

warning: 'NSCompositeCopy' is deprecated: first deprecated in macOS
10.12 [-Wdeprecated-declarations]

Change-Id: I471b7156e3d3111fbffd6d7a1ff99e8e847af7fe
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Eike Ziller
2021-03-25 13:45:37 +01:00
parent 4b3a746332
commit 2ce76937d4

View File

@@ -91,9 +91,9 @@ static ApplicationProgressView *sharedProgressView = nil;
Q_UNUSED(rect)
NSRect boundary = [self bounds];
[[NSApp applicationIconImage] drawInRect:boundary
fromRect:NSZeroRect
operation:NSCompositeCopy
fraction:1.0];
fromRect:NSZeroRect
operation:NSCompositingOperationCopy
fraction:1.0];
NSRect progressBoundary = boundary;
progressBoundary.size.height *= 0.13;
progressBoundary.size.width *= 0.8;