summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-09-12 11:27:19 +0200
committerDamiano Galassi <[email protected]>2020-09-12 11:27:19 +0200
commite1b9bd7672bfda2479515c0fa3c04303799ba849 (patch)
tree58c51380cf6384f766d0a48efbdf692c996e2bd8 /macosx/HBQueueController.m
parent03e0c447fbc6d0ba946370b923bfb543528ef71c (diff)
MacGui: add a prefix to the NSArray and NSIndexSet categories.
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r--macosx/HBQueueController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index 00f9f6992..b4c7782c9 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -308,11 +308,11 @@
// if this is a currently encoding job, we need to be sure to alert the user,
// to let them decide to cancel it first, then if they do, we can come back and
// remove it
- NSIndexSet *workingIndexes = [self.queue.items indexesOfObjectsUsingBlock:^BOOL(HBQueueJobItem *item) {
+ NSIndexSet *workingIndexes = [self.queue.items HB_indexesOfObjectsUsingBlock:^BOOL(HBQueueJobItem *item) {
return item.state == HBQueueItemStateWorking;
}];
- NSIndexSet *workingSelectedIndexes = [workingIndexes intersectionWith:indexes];
+ NSIndexSet *workingSelectedIndexes = [workingIndexes HB_intersectionWith:indexes];
[mutableIndexes removeIndexes:workingSelectedIndexes];
if (workingSelectedIndexes.count)