Permalink
Browse files

Moving applicationDidFinishLanching: to the top of the file.

  • Loading branch information...
1 parent b9608bd commit e8bdeca80a7608d57245a40fa5ecde3dbce4cf46 @bryanveloso bryanveloso committed Feb 15, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 AppDelegate.m
View
@@ -25,6 +25,12 @@ @implementation AppDelegate
@synthesize paused;
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
+{
+ [[self window] setTitleBarHeight:30.0];
+ [[self window] setTrafficLightButtonsLeftMargin:7.0];
+}
+
-(void) checkTime:(NSTimer*)theTimer{
currentTime = [music currentTime];
if([music isPlaying]){
@@ -47,12 +53,6 @@ -(void) checkTime:(NSTimer*)theTimer{
}
-- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
-{
- [[self window] setTitleBarHeight:30.0];
- [[self window] setTrafficLightButtonsLeftMargin:7.0];
-}
-
- (void)loadMusic:(NSURL *) fileURL {
NSSound * m = [NSSound alloc];
music = [m initWithContentsOfURL:fileURL byReference:YES];

0 comments on commit e8bdeca

Please sign in to comment.