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
..
2020-10-26 07:08:38 -04:00
2020-09-30 19:09:19 +02:00
2021-01-12 21:19:02 +00:00
2021-01-08 15:13:38 +00:00
2020-10-14 06:05:56 +02:00
2020-10-21 05:00:44 +02:00
2020-10-13 15:56:30 -04:00
2020-10-15 16:35:06 +01:00
2020-12-19 10:20:14 +01:00
2020-12-10 12:15:18 -05:00
2020-10-26 07:08:38 -04:00
2020-12-15 12:51:57 -05:00
2020-10-15 11:14:40 +02:00
2021-01-08 15:13:38 +00:00
2020-09-29 10:08:25 +02:00
2020-10-21 15:46:14 +02:00
2020-10-21 15:46:14 +02:00
2020-11-04 08:02:24 +01:00
2020-11-04 08:25:17 +01:00
2020-11-04 08:25:17 +01:00
2020-11-04 08:25:17 +01:00
2020-10-14 06:05:56 +02:00
2020-11-04 08:25:17 +01:00
2020-12-19 10:20:14 +01:00
2020-12-11 08:06:40 +01:00
2020-11-15 17:04:40 +01:00