summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r--macosx/HBQueueController.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index 5c99507b0..624d03700 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -824,16 +824,16 @@
- (void)sendToExternalApp:(NSURL *)fileURL
{
// This end of encode action is called as each encode rolls off of the queue
- if ([[NSUserDefaults standardUserDefaults] boolForKey:@"SendCompletedEncodeToApp"] == YES)
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HBSendToAppEnabled"] == YES)
{
NSWorkspace *workspace = [NSWorkspace sharedWorkspace];
- NSString *sendToApp = [workspace fullPathForApplication:[[NSUserDefaults standardUserDefaults] objectForKey:@"SendCompletedEncodeToApp"]];
+ NSString *app = [workspace fullPathForApplication:[[NSUserDefaults standardUserDefaults] objectForKey:@"HBSendToApp"]];
- if (sendToApp)
+ if (app)
{
- if (![workspace openFile:fileURL.path withApplication:sendToApp])
+ if (![workspace openFile:fileURL.path withApplication:app])
{
- [HBUtilities writeToActivityLog:"Failed to send file to: %s", sendToApp];
+ [HBUtilities writeToActivityLog:"Failed to send file to: %s", app];
}
}
else