From e1b9bd7672bfda2479515c0fa3c04303799ba849 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sat, 12 Sep 2020 11:27:19 +0200 Subject: MacGui: add a prefix to the NSArray and NSIndexSet categories. --- macosx/HBQueueController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/HBQueueController.m') 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) -- cgit v1.2.3