QMacStyle: Fix use of deprecated symbol
Change-Id: I5a6bfc937267817b2c815be0216ea91fe6860ba3 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
0696566b1e
commit
08a908c549
@ -1907,7 +1907,7 @@ NSView *QMacStylePrivate::cocoaControl(QCocoaWidget widget) const
|
|||||||
}
|
}
|
||||||
case QCocoaPushButton: {
|
case QCocoaPushButton: {
|
||||||
NSButton *bc = (NSButton *)bv;
|
NSButton *bc = (NSButton *)bv;
|
||||||
bc.buttonType = NSMomentaryPushButton;
|
bc.buttonType = NSMomentaryLightButton;
|
||||||
bc.bezelStyle = NSRoundedBezelStyle;
|
bc.bezelStyle = NSRoundedBezelStyle;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user