summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-19 19:05:07 +0200
committerDamiano Galassi <[email protected]>2015-10-19 19:05:07 +0200
commit943a6385c1cbd15c394372114d7c710fb1747861 (patch)
tree433698e752891b5a70f7b2cc1f1c2725a2c159fa /macosx/HBQueueController.m
parent28bdaf6e2884474adde3f5d47c673ca52813c6cb (diff)
MacGui: rename the 'send to app' preference keys and removed the default app.
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