X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/3b5e8f80a471ff88cd39e8c295276beb7c3412ec..b3c2ee58062172cc83fb7ad97596769b840b76ad:/MainController.m?ds=sidebyside diff --git a/MainController.m b/MainController.m index 517c892..10a944b 100755 --- a/MainController.m +++ b/MainController.m @@ -45,6 +45,11 @@ static MainController *sharedController; - (void)applicationDidFinishLaunching:(NSNotification *)note { + //Turn on debug mode if needed + if ([df boolForKey:@"ITDebugMode"]) { + SetITDebugMode(YES); + } + currentRemote = [self loadRemote]; [currentRemote begin]; @@ -576,7 +581,6 @@ static MainController *sharedController; - (void)toggleLoop { ITMTRemotePlayerRepeatMode repeatMode = [currentRemote repeatMode]; - switch (repeatMode) { case ITMTRemotePlayerRepeatOff: repeatMode = ITMTRemotePlayerRepeatAll;