Commit bdd4d52f authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed long-standing issue of disappearing sidebar item icons on some build configurations

(cherry picked from commit 0664335b7e32ea96e0f57880c5a056f7847f2d7a)
parent d1b4a639
...@@ -397,7 +397,7 @@ NSString * const PXSLDeleteKeyPressedOnRowsNotification = @"PXSourceListDeleteKe ...@@ -397,7 +397,7 @@ NSString * const PXSLDeleteKeyPressedOnRowsNotification = @"PXSourceListDeleteKe
} }
//Use 10.6 NSImage drawing if we can //Use 10.6 NSImage drawing if we can
if([icon respondsToSelector:@selector(drawInRect:fromRect:operation:fraction:respectFlipped:hints:)]) { if(NSAppKitVersionNumber >= 1115.2) { // Lion
[icon drawInRect:iconRect [icon drawInRect:iconRect
fromRect:NSZeroRect fromRect:NSZeroRect
operation:NSCompositeSourceOver operation:NSCompositeSourceOver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment