diff options
author | ritsuka <[email protected]> | 2015-05-23 09:07:53 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-23 09:07:53 +0000 |
commit | 28b6d0ad4dc60ad55924eaffc4abdba31a116e70 (patch) | |
tree | 4fec91ed9b2cdc0514f5c33823820fbdc813852a /macosx/HBCodingUtilities.m | |
parent | 83f67c2d94fdf8cafca5804426d177f3e10fd02c (diff) |
MacGui: fix queue reading on 10.7.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7218 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBCodingUtilities.m')
-rw-r--r-- | macosx/HBCodingUtilities.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBCodingUtilities.m b/macosx/HBCodingUtilities.m index b6b97dce6..a87ad3f7a 100644 --- a/macosx/HBCodingUtilities.m +++ b/macosx/HBCodingUtilities.m @@ -18,7 +18,7 @@ static BOOL useSecureCoding; if (!initialized && self == [HBCodingUtilities class]) { - useSecureCoding = NSProtocolFromString(@"NSSecureCoding") ? YES : NO; + useSecureCoding = [NSCoder instancesRespondToSelector:@selector(decodeObjectOfClass:forKey:)] ? YES : NO; } } |