Reverting..
--- 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;