X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fmainwin.cpp;h=1dbafa0a3975a3324c35604b2cbe13e063e31c57;hb=de1d20fbba4c7df976cf828ded494a29c7c5b677;hp=1c990faec8337d5a7c038907150cbce48a524a51;hpb=83fce768d2c1e0e16691c092ea02d64e2b280fad;p=virtualjaguar diff --git a/src/gui/mainwin.cpp b/src/gui/mainwin.cpp index 1c990fa..1dbafa0 100644 --- a/src/gui/mainwin.cpp +++ b/src/gui/mainwin.cpp @@ -403,12 +403,22 @@ void MainWin::closeEvent(QCloseEvent * event) void MainWin::keyPressEvent(QKeyEvent * e) { + // From jaguar.cpp + extern bool startM68KTracing; + // We ignore the Alt key for now, since it causes problems with the GUI if (e->key() == Qt::Key_Alt) { e->accept(); return; } + else if (e->key() == Qt::Key_F11) + { + startM68KTracing = true; + e->accept(); + return; + } + /* if (e->key() == Qt::Key_F9) {