summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-07-29 07:34:38 +0200
committerDamiano Galassi <[email protected]>2019-07-29 07:34:38 +0200
commit8e2843720a9e6a87670da4e3caccfd570f66389f (patch)
tree9ed0392c6aef95b2f600d948564b030da2293d95 /macosx/HBJob.m
parent9446eba9eac07b6b47dc6d6e9f3c2a7331b38aa0 (diff)
MacGui: refactor the preferences keys and autonaming methods; fix the queue when running multiple HandBrake instances; fixed a number of bugs.
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m4
1 files changed, 2 insertions, 2 deletions
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)
{