diff options
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 4539aeed3..0a89f7315 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -73,9 +73,10 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It - (void) applicationDidFinishLaunching: (NSNotification *) notification { /* Init libhb with check for updates libhb style set to "0" so its ignored and lets sparkle take care of it */ - fHandle = hb_init(HB_DEBUG_ALL, 0); + int loggingLevel = [[[NSUserDefaults standardUserDefaults] objectForKey:@"LoggingLevel"] intValue]; + fHandle = hb_init(loggingLevel, 0); /* Init a separate instance of libhb for user scanning and setting up jobs */ - fQueueEncodeLibhb = hb_init(HB_DEBUG_ALL, 0); + fQueueEncodeLibhb = hb_init(loggingLevel, 0); // Set the Growl Delegate [GrowlApplicationBridge setGrowlDelegate: self]; |