forked from qt-creator/qt-creator
macOS: Fix compiler warning
The new value is available since SDK 10.12 Change-Id: I2d171680dbf3ae7b7951bfa36990ab52a3b19e9b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -177,7 +177,7 @@ static NSImage *iconToTemplateNSImage(const QIcon &icon)
|
||||
{
|
||||
self = [super init];
|
||||
[self setButtonType:NSButtonTypeMomentaryPushIn];
|
||||
self.bezelStyle = NSRoundedBezelStyle;
|
||||
self.bezelStyle = NSBezelStyleRounded;
|
||||
self.target = self;
|
||||
self.action = @selector(trigger:);
|
||||
_qaction = qaction;
|
||||
@@ -208,7 +208,7 @@ static NSImage *iconToTemplateNSImage(const QIcon &icon)
|
||||
{
|
||||
self = [super init];
|
||||
[self setButtonType:NSButtonTypeMomentaryPushIn];
|
||||
self.bezelStyle = NSRoundedBezelStyle;
|
||||
self.bezelStyle = NSBezelStyleRounded;
|
||||
self.target = self;
|
||||
self.action = @selector(trigger:);
|
||||
_parent = parent;
|
||||
|
Reference in New Issue
Block a user