diff options
author | Damiano Galassi <[email protected]> | 2015-10-28 08:15:52 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-28 08:15:52 +0100 |
commit | 89c0a25d548575ac2ad9e867fa0f506fed7ad625 (patch) | |
tree | 6ae99c75b0558cb04af6842ea8b5b53bdac5c0aa /macosx/HBQueueController.h | |
parent | 5adcef6070a6b8f91a92d2c22e5449dab3b15a34 (diff) |
MacGui: annotate the type of some arrays, and check the count of the input jobs in HBQueueController addJobsFromArray:, so we don't add an empty undo command.
Diffstat (limited to 'macosx/HBQueueController.h')
-rw-r--r-- | macosx/HBQueueController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBQueueController.h b/macosx/HBQueueController.h index ff8ca5aaf..3584f7737 100644 --- a/macosx/HBQueueController.h +++ b/macosx/HBQueueController.h @@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) NSUInteger pendingItemsCount; - (void)addJob:(HBJob *)item; -- (void)addJobsFromArray:(NSArray *)items; +- (void)addJobsFromArray:(NSArray<HBJob *> *)items; - (BOOL)jobExistAtURL:(NSURL *)url; |