mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Use properties instead of ivars (#2453)
This commit is contained in:
@@ -12,16 +12,11 @@
|
||||
[super mouseDown:event];
|
||||
}
|
||||
|
||||
- (void)setWebSeeds:(NSArray*)webSeeds
|
||||
{
|
||||
fWebSeeds = webSeeds;
|
||||
}
|
||||
|
||||
- (void)copy:(id)sender
|
||||
{
|
||||
NSIndexSet* indexes = self.selectedRowIndexes;
|
||||
NSMutableArray* addresses = [NSMutableArray arrayWithCapacity:indexes.count];
|
||||
[fWebSeeds enumerateObjectsAtIndexes:indexes options:0 usingBlock:^(NSDictionary* webSeed, NSUInteger idx, BOOL* stop) {
|
||||
[self.webSeeds enumerateObjectsAtIndexes:indexes options:0 usingBlock:^(NSDictionary* webSeed, NSUInteger idx, BOOL* stop) {
|
||||
[addresses addObject:webSeed[@"Address"]];
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user