summaryrefslogtreecommitdiffstats
path: root/macosx/HBAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAppDelegate.m')
-rw-r--r--macosx/HBAppDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAppDelegate.m b/macosx/HBAppDelegate.m
index 33b82c315..fddd8a48d 100644
--- a/macosx/HBAppDelegate.m
+++ b/macosx/HBAppDelegate.m
@@ -180,7 +180,7 @@
- (void)application:(NSApplication *)sender openFiles:(NSArray *)filenames
{
- [self.mainController openFile:[NSURL fileURLWithPath:filenames.firstObject]];
+ [self.mainController openURL:[NSURL fileURLWithPath:filenames.firstObject]];
[NSApp replyToOpenOrPrint:NSApplicationDelegateReplySuccess];
}