ifdef out the special mac code for now

it needs more fixing and I can't test it.
This commit is contained in:
Peinthor Rene
2013-03-31 10:27:22 +02:00
parent d54bb46964
commit f2e5747a0a

View File

@@ -5,7 +5,7 @@
#include <QLibraryInfo>
#include <QLocale>
#if defined(Q_WS_MAC)
#if 0 and defined(Q_WS_MAC)
#include <Carbon/Carbon.h>
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<long>(&w),false);
// AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments,
// NewAEEventHandlerUPP(odocHandler),reinterpret_cast<long>(&w),false);
#endif // Q_WS_MAC
w.show();
if (argc>1) {