mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
ifdef out the special mac code for now
it needs more fixing and I can't test it.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user