mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 14:29:31 +00:00
Codestyle
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -65,9 +65,9 @@ NSString *const MPPasteBoardControllerDidClearClipboard = @"com.hicknhack.macpas
|
||||
|
||||
- (void)stashObjects {
|
||||
self.stashedObjects = [NSMutableArray array];
|
||||
for (NSPasteboardItem *item in [[NSPasteboard generalPasteboard] pasteboardItems]) {
|
||||
for (NSPasteboardItem *item in [NSPasteboard generalPasteboard].pasteboardItems) {
|
||||
NSPasteboardItem *newItem = [[NSPasteboardItem alloc] init];
|
||||
for (NSString *type in [item types]) {
|
||||
for (NSString *type in item.types) {
|
||||
NSData *data = [[item dataForType:type] mutableCopy];
|
||||
if (data) {
|
||||
[newItem setData:data forType:type];
|
||||
|
||||
Reference in New Issue
Block a user