Reverting..
authorZorg <zorgiepoo@gmail.com>
Tue, 05 Apr 2011 16:02:26 -0400
changeset 5085 e8944ed92b61
parent 5083 b0b560f561b5
child 5105 79faa1130011
Reverting..
QTfrontend/M3Panel.mm
QTfrontend/SDLs.cpp
--- a/QTfrontend/M3Panel.mm	Sun Apr 03 00:13:38 2011 -0400
+++ b/QTfrontend/M3Panel.mm	Tue Apr 05 16:02:26 2011 -0400
@@ -18,7 +18,6 @@
 
 #include "M3Panel.h"
 #include "M3InstallController.h"
-#include "CocoaInitializer.h"
 
 #include <Cocoa/Cocoa.h>
 
@@ -31,8 +30,7 @@
 M3Panel::M3Panel(void)
 {
 	c = new Private;
-    
-    CocoaInitializer initializer;
+
 	c->install = [[M3InstallController alloc] init];
 	[c->install retain];
 
--- a/QTfrontend/SDLs.cpp	Sun Apr 03 00:13:38 2011 -0400
+++ b/QTfrontend/SDLs.cpp	Tue Apr 05 16:02:26 2011 -0400
@@ -24,10 +24,6 @@
 
 #include <QApplication>
 
-#ifdef __APPLE__
-#include "CocoaInitializer.h"
-#endif
-
 
 extern char sdlkeys[1024][2][128];
 extern char xb360buttons[][128];
@@ -37,11 +33,7 @@
 
 SDLInteraction::SDLInteraction()
 {
-#ifdef __APPLE__
-    // SDL_Init needs a NSAutoreleasePool set up
-    CocoaInitializer initializer;
-#endif
-    
+
     SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK);
 
     musicInitialized = 0;