From 8e2843720a9e6a87670da4e3caccfd570f66389f Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 29 Jul 2019 07:34:38 +0200 Subject: MacGui: refactor the preferences keys and autonaming methods; fix the queue when running multiple HandBrake instances; fixed a number of bugs. --- macosx/HBJob.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/HBJob.m') diff --git a/macosx/HBJob.m b/macosx/HBJob.m index 7cd7c7fcf..4d52735c7 100644 --- a/macosx/HBJob.m +++ b/macosx/HBJob.m @@ -429,7 +429,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification"; decodeInt(_titleIdx); if (_titleIdx < 0) { goto fail; } #ifdef __SANDBOX_ENABLED__ - _fileURLBookmark = [decoder decodeObjectOfClass:[NSData class] forKey:@"_fileURLBookmark"]; + decodeObject(_fileURLBookmark, NSData) if (_fileURLBookmark) { @@ -441,7 +441,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification"; decodeObjectOrFail(_fileURL, NSURL); } - _outputURLFolderBookmark = [decoder decodeObjectOfClass:[NSData class] forKey:@"_outputURLFolderBookmark"]; + decodeObject(_outputURLFolderBookmark, NSData) if (_outputURLFolderBookmark) { -- cgit v1.2.3