diff options
author | ritsuka <[email protected]> | 2015-02-02 11:15:07 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-02-02 11:15:07 +0000 |
commit | 6879158d26de2bda56f41a9e571a312b9085a873 (patch) | |
tree | 31d38c8f4147af6faef7a509aed38eb1db68b78c /macosx/HBQueueController.m | |
parent | 786042401cf317426ac50b497b390a52b53693f6 (diff) |
MacGui: rename some variables.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6861 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 46d9bae69..fb7ff6385 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -398,15 +398,15 @@ - (void)removeItemsUsingBlock:(BOOL (^)(HBJob *item))predicate { - NSMutableArray *encodedJobs = [NSMutableArray array]; - for (HBJob *job in self.jobs) + NSMutableArray *itemsToRemove = [NSMutableArray array]; + for (HBJob *item in self.jobs) { - if (predicate(job)) + if (predicate(item)) { - [encodedJobs addObject:job]; + [itemsToRemove addObject:item]; } } - [self.jobs removeObjectsInArray:encodedJobs]; + [self.jobs removeObjectsInArray:itemsToRemove]; } /** |