QMacStyle: Fix 32-bit build
Again one of those CGRect vs. NSRect issues. Change-Id: Ia933cd6f002585e21247d2f9f85d2451db6dbaa0 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>bb10
parent
3f1cb33d35
commit
a43684c0da
|
|
@ -5572,7 +5572,7 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex
|
|||
CGContextTranslateCTM(ctx, 0, rect.size.height);
|
||||
CGContextScaleCTM(ctx, 1, -1);
|
||||
}
|
||||
[sl.cell drawBarInside:tdi.bounds flipped:NO];
|
||||
[sl.cell drawBarInside:NSRectFromCGRect(tdi.bounds) flipped:NO];
|
||||
// No need to restore the CTM later, the context has been saved
|
||||
// and will be restored at the end of drawNSViewInRect()
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue