From 53508d57a481fa1e67ac66541581f925dda7fd6e Mon Sep 17 00:00:00 2001 From: ritsuka Date: Sat, 21 Feb 2015 07:28:48 +0000 Subject: MacGui: add a preference to toggle the log cleanup. Use NSURL directly where possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6934 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBUtilities.m | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'macosx/HBUtilities.m') diff --git a/macosx/HBUtilities.m b/macosx/HBUtilities.m index 6a61e1ab1..3e4fdb272 100644 --- a/macosx/HBUtilities.m +++ b/macosx/HBUtilities.m @@ -17,19 +17,6 @@ infoDictionary[@"CFBundleVersion"]]; } -+ (NSString *)appSupportPath -{ - NSString *appSupportPath = [[NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, - NSUserDomainMask, - YES) firstObject] stringByAppendingPathComponent:@"HandBrake"]; - - NSFileManager *fileManager = [NSFileManager defaultManager]; - if (![fileManager fileExistsAtPath:appSupportPath]) - [fileManager createDirectoryAtPath:appSupportPath withIntermediateDirectories:YES attributes:nil error:NULL]; - - return appSupportPath; -} - + (NSURL *)appSupportURL { NSFileManager *fileManager = [NSFileManager defaultManager]; -- cgit v1.2.3