summaryrefslogtreecommitdiffstats
path: root/macosx/HBUtilities.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-02-21 07:28:48 +0000
committerritsuka <[email protected]>2015-02-21 07:28:48 +0000
commit53508d57a481fa1e67ac66541581f925dda7fd6e (patch)
tree0c12901fc8489ede0a4a24792225681e1d7cb40d /macosx/HBUtilities.m
parent34c5f777ed3d5d15f9b805bfbda600c4ead7977c (diff)
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
Diffstat (limited to 'macosx/HBUtilities.m')
-rw-r--r--macosx/HBUtilities.m13
1 files changed, 0 insertions, 13 deletions
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];