diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MainWindow.h | 2 | ||||
-rw-r--r-- | src/openscad.cc | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index 1dc2153..3c966b7 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -93,7 +93,6 @@ private slots: void preferences(); private slots: - void actionReloadCompile(); void actionCompile(); #ifdef ENABLE_CGAL void actionRenderCGAL(); @@ -141,6 +140,7 @@ public slots: void helpAbout(); void helpManual(); void quit(); + void actionReloadCompile(); }; #endif diff --git a/src/openscad.cc b/src/openscad.cc index 0974a11..0cd7455 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -45,6 +45,7 @@ #include <getopt.h> #ifdef Q_WS_MAC #include "EventFilter.h" +#include "AppleEvents.h" #endif static void help(const char *progname) @@ -247,6 +248,10 @@ int main(int argc, char **argv) } else if (useGUI) { +#ifdef Q_WS_MAC + installAppleEventHandlers(); +#endif + // turn on anti-aliasing QGLFormat f; f.setSampleBuffers(true); |