VirtualBox

Changeset 85331 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 14, 2020 10:21:57 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: UIDockTileMonitor::drawRect - NSCompositeSourceOver renamed to NSCompositingOperationSourceOver in 10.12, it seems. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/UICocoaDockIconPreview.mm

    r85330 r85331  
    160160{
    161161    NSImage *dockMonitor = ::darwinToNSImageRef(p->m_dockMonitor);
     162#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12
     163    [dockMonitor drawInRect:NSRectFromCGRect(p->flipRect(p->m_monitorRect)) fromRect:aRect operation:NSCompositingOperationSourceOver fraction:1.0];
     164#else
    162165    [dockMonitor drawInRect:NSRectFromCGRect(p->flipRect(p->m_monitorRect)) fromRect:aRect operation:NSCompositeSourceOver fraction:1.0];
     166#endif
    163167    [dockMonitor release];
    164168}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette