From 3a401f331446e3c6ac314804a8f6699051dad8ee Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 23 Sep 2019 11:45:07 +0200 Subject: [PATCH] macOS: Fix compiler warning The new value is available since SDK 10.12 Change-Id: I2d171680dbf3ae7b7951bfa36990ab52a3b19e9b Reviewed-by: Christian Stenger --- src/libs/utils/touchbar/touchbar_mac.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/utils/touchbar/touchbar_mac.mm b/src/libs/utils/touchbar/touchbar_mac.mm index ee5a45bf720..dfaf6700873 100644 --- a/src/libs/utils/touchbar/touchbar_mac.mm +++ b/src/libs/utils/touchbar/touchbar_mac.mm @@ -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;