Skip to content

Commit

Permalink
Fix deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
pjrobertson committed Feb 12, 2025
1 parent 3102fa5 commit 0115344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QSPasteboardMonitor.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ - (void)checkPasteboard:(NSTimer *)timer{
return;
}
lastChangeCount = changeCount;
[[NSNotificationCenter defaultCenter] postNotificationName:QSPasteboardDidChangeNotification object:@{@"Pasteboard" : [NSPasteboard generalPasteboard], @"ActiveApp" : [[[NSWorkspace sharedWorkspace] activeApplication] objectForKey:@"NSApplicationBundleIdentifier"]}];
[[NSNotificationCenter defaultCenter] postNotificationName:QSPasteboardDidChangeNotification object:@{@"Pasteboard" : [NSPasteboard generalPasteboard], @"ActiveApp" : [[NSWorkspace sharedWorkspace] frontmostApplication].bundleIdentifier}];
}


Expand Down

0 comments on commit 0115344

Please sign in to comment.