From 04905abaeb7d85064c579218f0c1639269fc02e7 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 5 Oct 2015 18:10:49 +0200 Subject: MacGui: rename a preference key and remove a duplicated log message about libdvdcss --- macosx/HBController.m | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'macosx/HBController.m') 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)]; -- cgit v1.2.3