X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/93f1f93114865d18b5870f04763c921ff33b8e59..6e879de483fcc0349bb3720d1eb8ae74dc6d3803:/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];