diff --git a/src/app/modules/gui.cpp b/src/app/modules/gui.cpp index fc47b546c..4ae09754d 100644 --- a/src/app/modules/gui.cpp +++ b/src/app/modules/gui.cpp @@ -383,9 +383,9 @@ bool CustomizedGuiManager::onProcessMessage(Message* msg) break; case kKeyDownMessage: { +#ifdef _DEBUG auto keymsg = static_cast(msg); -#ifdef _DEBUG // Ctrl+Shift+Q generates a crash (useful to test the anticrash feature) if (msg->ctrlPressed() && msg->shiftPressed() &&