X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fmainwin.cpp;h=e8ebb63eb7059618a396ebb1ea49c184ddbd52c8;hb=314c595304e7b95963356d09c7a622d5469dc6f2;hp=cc5dab1880c251e9001a5f55f60f717d89970007;hpb=e310c1d53915d306d8aa9a1bed9bac489bd30b03;p=virtualjaguar diff --git a/src/gui/mainwin.cpp b/src/gui/mainwin.cpp index cc5dab1..e8ebb63 100644 --- a/src/gui/mainwin.cpp +++ b/src/gui/mainwin.cpp @@ -454,13 +454,14 @@ void MainWin::closeEvent(QCloseEvent * event) void MainWin::keyPressEvent(QKeyEvent * e) { +#ifndef VJ_REMOVE_DEV_CODE // From jaguar.cpp extern bool startM68KTracing; // From joystick.cpp extern int blit_start_log; // From blitter.cpp extern bool startConciseBlitLogging; - +#endif // We ignore the Alt key for now, since it causes problems with the GUI if (e->key() == Qt::Key_Alt) @@ -468,6 +469,8 @@ void MainWin::keyPressEvent(QKeyEvent * e) e->accept(); return; } +// Bar this shite from release versions kthxbai +#ifndef VJ_REMOVE_DEV_CODE else if (e->key() == Qt::Key_F11) { startM68KTracing = true; @@ -486,6 +489,7 @@ void MainWin::keyPressEvent(QKeyEvent * e) e->accept(); return; } +#endif else if (e->key() == Qt::Key_F8) { // ggn: For extra NYAN pleasure...