Roman Bolshakov
1ff5a063d6
ui/cocoa: Fix openFile: deprecation on Big Sur
ui/cocoa.m:1188:44: warning: 'openFile:' is deprecated: first deprecated in macOS 11.0 - Use -[NSWorkspace openURL:] instead.
[-Wdeprecated-declarations]
if ([[NSWorkspace sharedWorkspace] openFile: full_file_path] == YES) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:350:1: note:
'openFile:' has been explicitly marked deprecated here
- (BOOL)openFile:(NSString *)fullPath API_DEPRECATED("Use -[NSWorkspace openURL:] instead.", macos(10.0, 11.0));
^
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210102150718.47618-1-r.bolshakov@yadro.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-01-12 21:19:02 +00:00
..
2021-01-12 21:19:02 +00:00
2021-01-08 15:13:38 +00:00
2020-10-21 05:00:44 +02:00
2019-09-17 13:43:22 +02:00
2020-12-19 10:20:14 +01:00
2020-12-10 12:15:18 -05:00
2020-12-15 12:51:57 -05:00
2021-01-08 15:13:38 +00:00
2020-09-29 10:08:25 +02:00
2020-12-19 10:20:14 +01:00
2020-12-11 08:06:40 +01:00