diff --git a/5.3.2/qtbase/src/widgets/styles/qmacstyle_mac.mm b/5.3.2/qtbase/src/widgets/styles/qmacstyle_mac.mm index 0845a5e..57a5144 100644 --- a/5.3.2/qtbase/src/widgets/styles/qmacstyle_mac.mm +++ b/5.3.2/qtbase/src/widgets/styles/qmacstyle_mac.mm @@ -3667,9 +3667,9 @@ void QMacStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPainter NSBezierPath *pushButtonFocusRingPath; if (bdi.kind == kThemeBevelButton) - pushButtonFocusRingPath = [NSBezierPath bezierPathWithRect:focusRect]; + pushButtonFocusRingPath = [NSBezierPath bezierPathWithRect:NSRectFromCGRect(focusRect)]; else - pushButtonFocusRingPath = [NSBezierPath bezierPathWithRoundedRect:focusRect xRadius:4 yRadius:4]; + pushButtonFocusRingPath = [NSBezierPath bezierPathWithRoundedRect:NSRectFromCGRect(focusRect) xRadius:4 yRadius:4]; qt_drawFocusRingOnPath(cg, pushButtonFocusRingPath); }