diff options
author | Damiano Galassi <[email protected]> | 2015-10-19 17:57:49 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-19 17:57:49 +0200 |
commit | 333a81d49982c504bbc3ba7bcb88787442a3a8c4 (patch) | |
tree | 2136c41bfb66fd26578b5305f39ec9a6637e9282 /macosx/HBAppDelegate.m | |
parent | e5b59be057da16e782d970e41299d78beef9e878 (diff) |
MacGui: improved queue with undo/redo support for adding/removing jobs, and added a icon for failed encode.
Diffstat (limited to 'macosx/HBAppDelegate.m')
-rw-r--r-- | macosx/HBAppDelegate.m | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/HBAppDelegate.m b/macosx/HBAppDelegate.m index 32251f96f..6c21b1937 100644 --- a/macosx/HBAppDelegate.m +++ b/macosx/HBAppDelegate.m @@ -17,6 +17,7 @@ #import "HBController.h" #define PRESET_FILE @"UserPresets.json" +#define QUEUE_FILE @"Queue.hbqueue" @interface HBAppDelegate () @@ -51,10 +52,11 @@ _outputPanel = [[HBOutputPanelController alloc] init]; // we init the HBPresetsManager - NSURL *presetsURL = [[HBUtilities appSupportURL] URLByAppendingPathComponent:PRESET_FILE]; - _presetsManager = [[HBPresetsManager alloc] initWithURL:presetsURL]; + NSURL *appSupportURL = [HBUtilities appSupportURL]; + _presetsManager = [[HBPresetsManager alloc] initWithURL:[appSupportURL URLByAppendingPathComponent:PRESET_FILE]]; - _queueController = [[HBQueueController alloc] init]; + // Queue + _queueController = [[HBQueueController alloc] initWithURL:[appSupportURL URLByAppendingPathComponent:QUEUE_FILE]]; _queueController.delegate = self; _mainController = [[HBController alloc] initWithQueue:_queueController presetsManager:_presetsManager]; |