X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/93f1f93114865d18b5870f04763c921ff33b8e59..f562ed862f6cc9a734a15658dabe0ae75714bf42:/StatusWindowController.m diff --git a/StatusWindowController.m b/StatusWindowController.m index a9859c3..c6a2397 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -5,8 +5,7 @@ - (id)init { - if ( (self = [super init]) ) - { + if ( (self = [super init]) ) { [NSBundle loadNibNamed:@"StatusWindow" owner:self]; [statusWindow center]; } @@ -32,15 +31,13 @@ - (void)fadeWindowOut { [NSThread detachNewThreadSelector:@selector(fadeOutAux) toTarget:self withObject:nil]; - } - (void)fadeOutAux { NSAutoreleasePool *p00l = [[NSAutoreleasePool alloc] init]; float i; - for (i = 1.0; i > 0; i -= .003) - { + for (i = 1.0; i > 0; i -= .003) { [statusWindow setAlphaValue:i]; } [statusWindow close];