Ticket #46536: patch-qmacstyle_mac.diff
File patch-qmacstyle_mac.diff, 876 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
.//qtbase/src/widgets/styles/qmacstyle_mac.mm
old new 3667 3667 3668 3668 NSBezierPath *pushButtonFocusRingPath; 3669 3669 if (bdi.kind == kThemeBevelButton) 3670 pushButtonFocusRingPath = [NSBezierPath bezierPathWithRect: focusRect];3670 pushButtonFocusRingPath = [NSBezierPath bezierPathWithRect:NSRectFromCGRect(focusRect)]; 3671 3671 else 3672 pushButtonFocusRingPath = [NSBezierPath bezierPathWithRoundedRect: focusRectxRadius:4 yRadius:4];3672 pushButtonFocusRingPath = [NSBezierPath bezierPathWithRoundedRect:NSRectFromCGRect(focusRect) xRadius:4 yRadius:4]; 3673 3673 qt_drawFocusRingOnPath(cg, pushButtonFocusRingPath); 3674 3674 } 3675 3675