1
0
mirror of https://github.com/arsenetar/dupeguru-cocoa.git synced 2026-01-22 14:41:40 +00:00

Fix some deprecation warnings update submodules

This commit is contained in:
2020-12-29 20:40:44 -06:00
parent 99b98db93a
commit 2eada16210
13 changed files with 67 additions and 47 deletions

View File

@@ -164,8 +164,8 @@ http://www.gnu.org/licenses/gpl-3.0.html
NSString *data = [[self delegate] dataForCopyToPasteboard];
if (data != nil) {
NSPasteboard *p = [NSPasteboard generalPasteboard];
[p declareTypes:[NSArray arrayWithObjects:NSStringPboardType, nil] owner:nil];
[p setString:data forType:NSStringPboardType];
[p declareTypes:[NSArray arrayWithObjects:NSPasteboardTypeString, nil] owner:nil];
[p setString:data forType:NSPasteboardTypeString];
}
}