From f2e5747a0af1255a89019a5c3a3482c7ebfa2aea Mon Sep 17 00:00:00 2001 From: Peinthor Rene Date: Sun, 31 Mar 2013 10:27:22 +0200 Subject: [PATCH] ifdef out the special mac code for now it needs more fixing and I can't test it. --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 069fcbbf..d7f7a70a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,7 @@ #include #include -#if defined(Q_WS_MAC) +#if 0 and defined(Q_WS_MAC) #include static OSErr checkAppleEventForMissingParams(const AppleEvent& theAppleEvent) { @@ -92,8 +92,8 @@ int main( int argc, char ** argv ) MainWindow w; #if defined(Q_WS_MAC) - AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments, - NewAEEventHandlerUPP(odocHandler),reinterpret_cast(&w),false); +// AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments, +// NewAEEventHandlerUPP(odocHandler),reinterpret_cast(&w),false); #endif // Q_WS_MAC w.show(); if (argc>1) {