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:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user