diff options
author | Damiano Galassi <[email protected]> | 2015-10-05 18:10:49 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-05 18:10:49 +0200 |
commit | 04905abaeb7d85064c579218f0c1639269fc02e7 (patch) | |
tree | c9f6b30a4bbcbac80ee9330afa202eacffc28b99 /macosx | |
parent | 80969c07e0ed16cfa3d3330bfa42d24a8d0c6c66 (diff) |
MacGui: rename a preference key and remove a duplicated log message about libdvdcss
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBController.m | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m index 9005c3dfd..ac7f4ada6 100644 --- a/macosx/HBController.m +++ b/macosx/HBController.m @@ -663,7 +663,7 @@ [fSrcTitlePopUp removeAllItems]; NSError *outError = NULL; - BOOL suppressWarning = [[NSUserDefaults standardUserDefaults] boolForKey:@"suppresslibdvdcss"]; + BOOL suppressWarning = [[NSUserDefaults standardUserDefaults] boolForKey:@"suppressCopyProtectionAlert"]; // Check if we can scan the source and if there is any warning. BOOL canScan = [self.core canScan:scanURL error:&outError]; @@ -672,10 +672,7 @@ if (canScan && [outError code] == 101 && !suppressWarning) { // Only show the user this warning once. They may be using a solution we don't know about. Notifying them each time is annoying. - [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"suppresslibdvdcss"]; - - // Compatible libdvdcss not found - [HBUtilities writeToActivityLog: "libdvdcss.2.dylib not found for decrypting physical dvd"]; + [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"suppressCopyProtectionAlert"]; NSAlert *alert = [[NSAlert alloc] init]; [alert setMessageText:NSLocalizedString(@"Copy-Protected sources are not supported.", nil)]; |