diff options
author | Damiano Galassi <[email protected]> | 2016-12-27 11:53:11 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-12-27 11:53:11 +0100 |
commit | 2cc18941fa64a74d0f86f00215f112d940266585 (patch) | |
tree | 45b4d9b423ebcc5be8605e413af3fc021359e3f9 /macosx/HBQueueController.m | |
parent | ec1553108f3881a380904bcc8be7c19a626cb69a (diff) |
MacGui: enable NSSecureCoding for the queue file.
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 318233714..8dfef4e26 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -72,7 +72,7 @@ _core = [[HBCore alloc] initWithLogLevel:loggingLevel name:@"QueueCore"]; // Load the queue from disk. - _jobs = [[HBDistributedArray alloc] initWithURL:queueURL]; + _jobs = [[HBDistributedArray alloc] initWithURL:queueURL class:[HBJob class]]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadQueue) name:HBDistributedArrayChanged object:_jobs]; } |