summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPresetsManager.m')
-rw-r--r--macosx/HBPresetsManager.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBPresetsManager.m b/macosx/HBPresetsManager.m
index a98269298..f19709044 100644
--- a/macosx/HBPresetsManager.m
+++ b/macosx/HBPresetsManager.m
@@ -70,7 +70,8 @@ NSString *HBPresetsChangedNotification = @"HBPresetsChangedNotification";
*/
- (void)loadOldPresetsFromURL:(NSURL *)url
{
- HBPreset *oldPresets = [[HBPreset alloc] initWithContentsOfURL:url];
+ NSError *error;
+ HBPreset *oldPresets = [[HBPreset alloc] initWithContentsOfURL:url error:&error];
for (HBPreset *preset in oldPresets.children)
{