mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
silence a deprecation warning
This commit is contained in:
@@ -113,8 +113,7 @@
|
||||
{
|
||||
const NSRect frame = [self frame];
|
||||
const NSSize imageSize = [fBadge size];
|
||||
[fBadge compositeToPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5,
|
||||
(NSHeight(frame) - imageSize.height) * 0.5) operation: NSCompositeSourceOver];
|
||||
[fBadge drawAtPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5, (NSHeight(frame) - imageSize.height) * 0.5) fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user